Enum termion::event::Key [−][src]
pub enum Key { }
Expand description
A key.
Variants
Backspace.
Left arrow.
Right arrow.
Up arrow.
Down arrow.
Home key.
End key.
Page Up key.
Page Down key.
Backward Tab key.
Delete key.
Insert key.
Function keys.
Only function keys 1 through 12 are supported.
Tuple Fields of F
0: u8
Normal character.
Tuple Fields of Char
0: char
Alt modified character.
Tuple Fields of Alt
0: char
Ctrl modified character.
Note that certain keys may not be modifiable with ctrl
, due to limitations of terminals.
Tuple Fields of Ctrl
0: char
Null byte.
Esc key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more