Enum wayland_server::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
Releasedthe button is not pressed
Pressedthe button is pressed
Methods
impl ButtonState[src]
impl ButtonStateTrait Implementations
impl Copy for ButtonState[src]
impl Copy for ButtonStateimpl Clone for ButtonState[src]
impl Clone for ButtonStatefn clone(&self) -> ButtonState[src]
fn clone(&self) -> ButtonStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ButtonState[src]
impl Debug for ButtonStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ButtonState[src]
impl PartialEq for ButtonStateAuto Trait Implementations
impl Send for ButtonState
impl Send for ButtonStateimpl Sync for ButtonState
impl Sync for ButtonState