Enum andiskaz::event::Key [−][src]
pub enum Key {
Char(char),
Up,
Down,
Left,
Right,
Esc,
Enter,
Backspace,
}
Expand description
A supported pressed key.
Variants
Char(char)
A regular, unicode character. E.g. Key::Char('a')
or
Key::Char('ç')
.
Tuple Fields of Char
0: char
The up arrow key.
The down arrow key.
The left arrow key.
The right arrow key.
The escape key.
The enter key. Preferred over Char('\n')
.
The backspace key
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more