Struct keyboard_types::KeyEvent
[−]
[src]
pub struct KeyEvent { pub state: KeyState, pub key: Key, pub code: Code, pub location: Location, pub modifiers: Modifiers, pub repeat: bool, pub is_composing: bool, }
Fields
state: KeyState
key: Key
code: Code
location: Location
modifiers: Modifiers
repeat: bool
is_composing: bool
Events with this flag should be ignored in a text editor and instead composition events should be used.
Trait Implementations
impl Clone for KeyEvent
[src]
fn clone(&self) -> KeyEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more