Enum wayland_server::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
Releasedkey is not pressed
Pressedkey is pressed
Methods
impl KeyState[src]
impl KeyStateTrait Implementations
impl Copy for KeyState[src]
impl Copy for KeyStateimpl Clone for KeyState[src]
impl Clone for KeyStatefn clone(&self) -> KeyState[src]
fn clone(&self) -> KeyStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for KeyState[src]
impl Debug for KeyStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for KeyState[src]
impl PartialEq for KeyState