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

Trait Implementations

impl Debug for libinput_button_state
[src]

Formats the value using the given formatter.

impl Copy for libinput_button_state
[src]

impl Clone for libinput_button_state
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for libinput_button_state
[src]

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

This method tests for !=.

impl Eq for libinput_button_state
[src]

impl Hash for libinput_button_state
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.