pub enum TextShortcut {
Move(TextCursorDirection),
DeleteForward,
DeleteBackward,
DeleteWordForward,
DeleteWordBackward,
}
Expand description
Shortcuts that are used when editing text
Variants§
Move(TextCursorDirection)
Move the cursor
DeleteForward
Delete the Character to the right of the cursor
DeleteBackward
Delete the Character to the left of the cursor (aka Backspace).
DeleteWordForward
Delete the word to the right of the cursor
DeleteWordBackward
Delete the word to the left of the cursor (aka Ctrl + Backspace).
Auto Trait Implementations§
impl Freeze for TextShortcut
impl RefUnwindSafe for TextShortcut
impl Send for TextShortcut
impl Sync for TextShortcut
impl Unpin for TextShortcut
impl UnwindSafe for TextShortcut
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