Enum InputMode
pub enum InputMode
Vi input modes
Variants
-
Command Vi Command/Alternate
-
Insert Insert/Input mode
-
Replace Overwrite mode
Trait Implementations
impl Clone for InputMode
fn clone(&self) -> InputMode
impl Copy for InputMode
impl Eq for InputMode
impl PartialEq for InputMode
fn eq(&self, other: &InputMode) -> bool
impl StructuralPartialEq for InputMode
Auto Trait Implementations
impl Freeze for InputMode
impl RefUnwindSafe for InputMode
impl Send for InputMode
impl Sync for InputMode
impl Unpin for InputMode
impl UnsafeUnpin for InputMode
impl UnwindSafe for InputMode
Blanket Implementations
impl<T> Any for InputMode
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for InputMode
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for InputMode
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for InputMode
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for InputMode
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for InputMode
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for InputMode
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for InputMode
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for InputMode
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>