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]

Trait Implementations

impl Copy for KeyState
[src]

impl Clone for KeyState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyState
[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl Send for KeyState

impl Sync for KeyState