pub enum TextCursorDirection {
Show 15 variants
Forward,
Backward,
ForwardByWord,
BackwardByWord,
NextLine,
PreviousLine,
PreviousCharacter,
StartOfLine,
EndOfLine,
StartOfParagraph,
EndOfParagraph,
StartOfText,
EndOfText,
PageUp,
PageDown,
}
Variants§
Forward
Backward
ForwardByWord
BackwardByWord
NextLine
PreviousLine
PreviousCharacter
breaks grapheme boundaries, so only used by delete-previous-char
StartOfLine
EndOfLine
StartOfParagraph
These don’t care about wrapping
EndOfParagraph
StartOfText
EndOfText
PageUp
PageDown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextCursorDirection
impl RefUnwindSafe for TextCursorDirection
impl Send for TextCursorDirection
impl Sync for TextCursorDirection
impl Unpin for TextCursorDirection
impl UnwindSafe for TextCursorDirection
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