pub enum Direction {
}Expand description
A cursor movement, independent of the rope model.
Variants§
Left
Right
Up
Down
WordLeft
WordRight
LineStart
LineColumnZero
Column zero, where LineStart stops at the indent first.
LineEnd
Top
Bottom
PageUp
PageDown
NextWordStart
The start of the next word, as Vim’s w.
FindChar(char, bool, bool)
To a character on the line: forward or back, and stopping just before it.
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Forget for Direction
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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