Enum EditKey
pub enum EditKey {
Backspace,
Delete,
Left,
Right,
Home,
End,
SelectAll,
}Expand description
An editing key, as EditBox.keyPressed handles it. ctrl is the platform’s word modifier
and shift extends the selection.
Variants§
Backspace
Deletes the character (with Ctrl, the word) before the cursor, or the selection.
Delete
Deletes the character (with Ctrl, the word) after the cursor, or the selection.
Left
Moves a character (with Ctrl, a word) left.
Right
Moves a character (with Ctrl, a word) right.
Home
Moves to the start.
End
Moves to the end.
SelectAll
Selects everything (Ctrl+A).
Trait Implementations§
impl Copy for EditKey
impl Eq for EditKey
impl StructuralPartialEq for EditKey
Auto Trait Implementations§
impl Freeze for EditKey
impl RefUnwindSafe for EditKey
impl Send for EditKey
impl Sync for EditKey
impl Unpin for EditKey
impl UnsafeUnpin for EditKey
impl UnwindSafe for EditKey
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