Enum wayland_protocols::unstable::tablet::v2::client::zwp_tablet_tool_v2::ButtonState
source · #[repr(u32)]
pub enum ButtonState {
Released,
Pressed,
}
Expand description
physical button state
Describes the physical state of a button that produced the button event.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ButtonState
impl Clone for ButtonState
source§fn clone(&self) -> ButtonState
fn clone(&self) -> ButtonState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more