Enum rinwindow::events::KeyEvent[][src]

pub enum KeyEvent {
    Pressed {
        key: Key,
        mods: KeyModifiers,
        repeat: bool,
    },
    Released {
        key: Key,
    },
    Char {
        character: char,
    },
}

Variants

Fields of Pressed

Fields of Released

Fields of Char

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. Read more

impl Copy 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 !=.

Auto Trait Implementations

impl Send for KeyEvent

impl Sync for KeyEvent