Enum input_sys::libinput_key_state
[−]
[src]
#[repr(u32)]pub enum libinput_key_state { LIBINPUT_KEY_STATE_RELEASED, LIBINPUT_KEY_STATE_PRESSED, }
@ingroup device
Logical state of a key. Note that the logical state may not represent the physical state of the key.
Variants
LIBINPUT_KEY_STATE_RELEASEDLIBINPUT_KEY_STATE_PRESSEDTrait Implementations
impl Debug for libinput_key_state[src]
impl Copy for libinput_key_state[src]
impl Clone for libinput_key_state[src]
fn clone(&self) -> libinput_key_state
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for libinput_key_state[src]
fn eq(&self, __arg_0: &libinput_key_state) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for libinput_key_state[src]
impl Hash for libinput_key_state[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.