pub enum MoveOperation {
Show 21 variants
NoMove,
Start,
End,
StartOfLine,
EndOfLine,
StartOfBlock,
EndOfBlock,
StartOfWord,
EndOfWord,
PreviousBlock,
NextBlock,
PreviousCharacter,
NextCharacter,
PreviousWord,
NextWord,
Up,
Down,
Left,
Right,
WordLeft,
WordRight,
}Expand description
Semantic cursor movement operations.
Variants§
NoMove
Start
End
StartOfLine
EndOfLine
StartOfBlock
EndOfBlock
StartOfWord
EndOfWord
PreviousBlock
NextBlock
PreviousCharacter
NextCharacter
PreviousWord
NextWord
Up
Down
Left
Right
WordLeft
WordRight
Trait Implementations§
Source§impl Clone for MoveOperation
impl Clone for MoveOperation
Source§fn clone(&self) -> MoveOperation
fn clone(&self) -> MoveOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoveOperation
impl Debug for MoveOperation
Source§impl PartialEq for MoveOperation
impl PartialEq for MoveOperation
Source§fn eq(&self, other: &MoveOperation) -> bool
fn eq(&self, other: &MoveOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MoveOperation
impl Eq for MoveOperation
impl StructuralPartialEq for MoveOperation
Auto Trait Implementations§
impl Freeze for MoveOperation
impl RefUnwindSafe for MoveOperation
impl Send for MoveOperation
impl Sync for MoveOperation
impl Unpin for MoveOperation
impl UnsafeUnpin for MoveOperation
impl UnwindSafe for MoveOperation
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