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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ButtonState
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ButtonState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.