pub enum KeyCode {
}
Variants§
Backspace
Enter
Left
Right
Up
Down
Home
End
PageUp
PageDown
Tab
BackTab
Delete
Insert
F(u8)
Char(char)
Null
Esc
ScrollLock
NumLock
PrintScreen
PauseBreak
Menu
Trait Implementations§
Source§impl From<Key> for KeyCode
impl From<Key> for KeyCode
Source§fn from(key_code: TermionKey) -> Self
fn from(key_code: TermionKey) -> Self
Converts to this type from the input type.
Source§impl From<KeyCode> for KeyCode
impl From<KeyCode> for KeyCode
Source§fn from(key_code: CrosstermKeyCode) -> Self
fn from(key_code: CrosstermKeyCode) -> Self
Converts to this type from the input type.
Source§impl From<KeyCode> for KeyCode
impl From<KeyCode> for KeyCode
Source§fn from(key_code: TermwizKeyCode) -> Self
fn from(key_code: TermwizKeyCode) -> Self
Converts to this type from the input type.
impl Copy for KeyCode
impl Eq for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations§
impl Freeze for KeyCode
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin 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