Enum input::event::keyboard::KeyState [] [src]

pub enum KeyState {
    Pressed,
    Released,
}

State of a Key

Variants

Key is pressed

Key is released

Trait Implementations

impl Debug for KeyState
[src]

Formats the value using the given formatter.

impl Clone for KeyState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for KeyState
[src]

impl PartialEq for KeyState
[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 KeyState
[src]

impl Hash for KeyState
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.