pub enum KeyCode {
Show 13 variants
Esc,
Enter,
Backspace,
Delete,
Left,
Right,
Up,
Down,
Home,
End,
Tab,
BackTab,
Char(char),
}Expand description
Every key the editor and vi model actually distinguish. Closed on purpose — a face that sees something else drops it rather than widening this.
Variants§
Trait Implementations§
impl Copy for KeyCode
impl Eq for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations§
impl Forget for KeyCode
impl Freeze for KeyCode
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnsafeUnpin for KeyCode
impl UnwindSafe for KeyCode
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