pub enum Movement {
WholeLine,
BeginningOfLine,
EndOfLine,
BackwardWord(RepeatCount, Word),
ForwardWord(RepeatCount, At, Word),
ViCharSearch(RepeatCount, CharSearch),
ViFirstPrint,
BackwardChar(RepeatCount),
ForwardChar(RepeatCount),
}
Expand description
Where to move
Variants§
WholeLine
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)
vi-char-search
ViFirstPrint
vi-first-print
BackwardChar(RepeatCount)
backward-char
ForwardChar(RepeatCount)
forward-char
Trait Implementations§
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 UnwindSafe for Movement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)