Enum wayland_client::protocol::wl_pointer::ButtonState[][src]

#[repr(u32)]
pub enum ButtonState { Released, Pressed, }

physical button state

Describes the physical state of a button that produced the button event.

Variants

the button is not pressed

the button is pressed

Methods

impl ButtonState
[src]

Trait Implementations

impl Copy for ButtonState
[src]

impl Clone for ButtonState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ButtonState
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ButtonState
[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 ButtonState

impl Sync for ButtonState