Enum InputMode

enum InputMode

Vi input modes

Variants

Command

Vi Command/Alternate

Insert

Insert/Input mode

Replace

Overwrite mode

Implementations

impl Clone for InputMode

fn clone(self: &Self) -> InputMode

impl Copy for InputMode

impl Eq for InputMode

impl Freeze for InputMode

impl PartialEq for InputMode

fn eq(self: &Self, other: &InputMode) -> bool

impl RefUnwindSafe for InputMode

impl Send for InputMode

impl StructuralPartialEq for InputMode

impl Sync for InputMode

impl Unpin for InputMode

impl UnsafeUnpin for InputMode

impl UnwindSafe for InputMode

impl<T> Any for InputMode

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for InputMode

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for InputMode

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for InputMode

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for InputMode

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for InputMode

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for InputMode

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for InputMode

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for InputMode

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>