Enum wayland_client::protocol::wl_keyboard::KeyState [] [src]

#[repr(u32)]
pub enum KeyState { Released, Pressed, }

physical key state

Describes the physical state of a key that produced the key event.

Variants

key is not pressed

key is pressed

Methods

impl KeyState
[src]

[src]

[src]

Trait Implementations

impl Copy for KeyState
[src]

impl Clone for KeyState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for KeyState
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for KeyState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.