Struct conrod::event::KeyPress
[−]
[src]
pub struct KeyPress { pub key: Key, pub modifiers: ModifierKey, }
Contains all relevant information for the event where a keyboard button was pressed.
Fields
key: Key
The key that was pressed.
modifiers: ModifierKey
The modifier keys that were down at the time.
Trait Implementations
impl Copy for KeyPress
[src]
impl Clone for KeyPress
[src]
fn clone(&self) -> KeyPress
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for KeyPress
[src]
fn eq(&self, __arg_0: &KeyPress) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyPress) -> bool
[src]
This method tests for !=
.