Enum Movement
enum Movement
Where to move
Variants
-
WholeLine Whole current line (not really a movement but a range)
-
BeginningOfLine beginning-of-line
-
EndOfLine end-of-line
-
BackwardWord(RepeatCount, Word) backward-word, vi-prev-word
-
ForwardWord(RepeatCount, At, Word) forward-word, vi-end-word, vi-next-word
-
ViCharSearch(RepeatCount, CharSearch) character-search, character-search-backward, vi-char-search
-
ViFirstPrint vi-first-print
-
BackwardChar(RepeatCount) backward-char
-
ForwardChar(RepeatCount) forward-char
-
LineUp(RepeatCount) move to the same column on the previous line
-
LineDown(RepeatCount) move to the same column on the next line
-
WholeBuffer Whole user input (not really a movement but a range)
-
BeginningOfBuffer beginning-of-buffer
-
EndOfBuffer end-of-buffer
Implementations
impl Clone for Movement
fn clone(self: &Self) -> Movement
impl Debug for Movement
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for Movement
impl Freeze for Movement
impl PartialEq for Movement
fn eq(self: &Self, other: &Movement) -> bool
impl RefUnwindSafe for Movement
impl Send for Movement
impl StructuralPartialEq for Movement
impl Sync for Movement
impl Unpin for Movement
impl UnsafeUnpin for Movement
impl UnwindSafe for Movement
impl<T> Any for Movement
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Movement
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Movement
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Movement
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Movement
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Movement
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Movement
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Movement
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Movement
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>