Struct keyboard_types::KeyEvent
[−]
[src]
pub struct KeyEvent {
pub state: State,
pub key: Key,
pub code: Code,
pub location: Location,
pub modifiers: Modifiers,
pub repeat: bool,
}Fields
state: State
key: Key
code: Code
location: Location
modifiers: Modifiers
repeat: bool
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