Struct sixtyfps_corelib::input::KeyEvent [−][src]
#[repr(C)]pub struct KeyEvent { pub text: SharedString, pub modifiers: KeyboardModifiers, pub event_type: KeyEventType, }
Represents a key event sent by the windowing system.
Fields
text: SharedString
The unicode representation of the key pressed.
modifiers: KeyboardModifiers
The keyboard modifiers active at the time of the key press event.
event_type: KeyEventType
Indicates whether the key was pressed or released
Trait Implementations
impl StructuralPartialEq for KeyEvent
[src]
impl StructuralPartialEq for KeyEvent
[src]Auto Trait Implementations
impl RefUnwindSafe for KeyEvent
impl RefUnwindSafe for KeyEvent
impl UnwindSafe for KeyEvent
impl UnwindSafe for KeyEvent