Enum input_sys::libinput_button_state
[−]
[src]
#[repr(u32)]pub enum libinput_button_state { LIBINPUT_BUTTON_STATE_RELEASED, LIBINPUT_BUTTON_STATE_PRESSED, }
@ingroup device
Logical state of a physical button. Note that the logical state may not represent the physical state of the button.
Variants
LIBINPUT_BUTTON_STATE_RELEASEDLIBINPUT_BUTTON_STATE_PRESSEDTrait Implementations
impl Debug for libinput_button_state[src]
impl Copy for libinput_button_state[src]
impl Clone for libinput_button_state[src]
fn clone(&self) -> libinput_button_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_button_state[src]
fn eq(&self, __arg_0: &libinput_button_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_button_state[src]
impl Hash for libinput_button_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.