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

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyEvent
[src]

Formats the value using the given formatter.

impl Eq for KeyEvent
[src]

impl PartialEq for KeyEvent
[src]

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

This method tests for !=.