pub enum MoveMode {
Logical,
Visual,
}Expand description
Caret movement: through the text order, or across the screen.
Variants§
Logical
Next/previous grapheme in logical order (forward = towards the end of the text).
Visual
Next grapheme boundary to the right/left on screen (forward = right).
Trait Implementations§
impl Copy for MoveMode
impl Eq for MoveMode
impl StructuralPartialEq for MoveMode
Auto Trait Implementations§
impl Freeze for MoveMode
impl RefUnwindSafe for MoveMode
impl Send for MoveMode
impl Sync for MoveMode
impl Unpin for MoveMode
impl UnsafeUnpin for MoveMode
impl UnwindSafe for MoveMode
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