Struct gabelstaplerwm::wm::kbd::KeyPress
[−]
[src]
pub struct KeyPress { pub code: u8, pub mods: u8, pub mode: Mode, }
a key has been pressed - keycode and modifier information.
Fields
code: u8
Symbolic integer representing key.
mods: u8
Symbolic integer representing modifier combination.
mode: Mode
Necessary mode for modal keybindings.
Trait Implementations
impl Clone for KeyPress
[src]
fn clone(&self) -> KeyPress
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
impl Copy for KeyPress
[src]
impl Debug for KeyPress
[src]
impl PartialEq for KeyPress
[src]
fn eq(&self, __arg_0: &KeyPress) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyPress) -> bool
This method tests for !=
.