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

Symbolic integer representing key.

Symbolic integer representing modifier combination.

[]

Necessary mode for modal keybindings.

Trait Implementations

impl Clone for KeyPress
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Copy for KeyPress
[src]

impl Debug for KeyPress
[src]

[]

Formats the value using the given formatter.

impl PartialEq for KeyPress
[src]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl Eq for KeyPress
[src]

impl Hash for KeyPress
[src]

[]

Feeds this value into the given [Hasher]. Read more

[]

Feeds a slice of this type into the given [Hasher]. Read more