Enum Movement

#[non_exhaustive]
pub 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

Trait Implementations

impl Clone for Movement

fn clone(&self) -> Self

impl Debug for Movement

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Movement

impl PartialEq for Movement

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

impl StructuralPartialEq for Movement

Auto Trait Implementations

impl Freeze for Movement

impl RefUnwindSafe for Movement

impl Send for Movement

impl Sync for Movement

impl Unpin for Movement

impl UnsafeUnpin for Movement

impl UnwindSafe for Movement

Blanket Implementations

impl<T> Any for Movement where T: 'static + ?Sized,

impl<T> Borrow<T> for Movement where T: ?Sized,

impl<T> BorrowMut<T> for Movement where T: ?Sized,

impl<T> CloneToUninit for Movement where T: Clone,

impl<T> From<T> for Movement

impl<T> ToOwned for Movement where T: Clone,

impl<T, U> Into<U> for Movement where U: From<T>,

impl<T, U> TryFrom<U> for Movement where U: Into<T>,

impl<T, U> TryInto<U> for Movement where U: TryFrom<T>,