Enum requestty_ui::events::KeyCode
source · [−]pub enum KeyCode {
}Expand description
Represents a key.
Variants
Backspace
Backspace key.
Enter
Enter key.
Left
Left arrow key.
Right
Right arrow key.
Up
Up arrow key.
Down
Down arrow key.
Home
Home key.
End
End key.
PageUp
Page up key.
PageDown
Page dow key.
Tab
Tab key.
BackTab
Shift + Tab key.
Delete
Delete key.
Insert
Insert key.
F(u8)
A function key.
KeyEvent::F(1) represents F1 key, etc.
Char(char)
A character.
KeyEvent::Char('c') represents c character, etc.
Null
Null.
Esc
Escape key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
Mutably borrows from an owned value. Read more