[][src]Struct pc_keyboard::KeyEvent

pub struct KeyEvent {
    pub code: KeyCode,
    pub state: KeyState,
}

Fields

Methods

impl KeyEvent
[src]

Trait Implementations

impl PartialEq<KeyEvent> for KeyEvent
[src]

impl Eq for KeyEvent
[src]

impl Debug for KeyEvent
[src]

impl Clone for KeyEvent
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for KeyEvent

impl Sync for KeyEvent

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]