Enum smithay_client_toolkit::reexports::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
Releasedthe button is not pressed
Pressedthe button is pressed
Methods
impl ButtonState[src]
impl ButtonStateTrait Implementations
impl 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<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for ButtonState[src]
impl Copy for ButtonStateimpl PartialEq<ButtonState> for ButtonState[src]
impl PartialEq<ButtonState> for ButtonStateAuto Trait Implementations
impl Send for ButtonState
impl Send for ButtonStateimpl Sync for ButtonState
impl Sync for ButtonState