Struct requestty_ui::events::KeyEvent [−][src]
pub struct KeyEvent {
pub code: KeyCode,
pub modifiers: KeyModifiers,
}Expand description
Represents a key event.
Fields
code: KeyCodeThe key itself.
modifiers: KeyModifiersAdditional key modifiers.
Implementations
Creates a new KeyEvent
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyEvent
impl UnwindSafe for KeyEvent
Blanket Implementations
Mutably borrows from an owned value. Read more