Enum i_slint_core::input::TextShortcut
source · [−]pub enum TextShortcut {
Move(TextCursorDirection),
DeleteForward,
DeleteBackward,
}
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).
Auto Trait Implementations
impl RefUnwindSafe for TextShortcut
impl Send for TextShortcut
impl Sync for TextShortcut
impl Unpin for TextShortcut
impl UnwindSafe for TextShortcut
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more