Enum wayland_protocols::unstable::tablet::v1::client::zwp_tablet_tool_v1::ButtonState [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum ButtonState {
Released,
Pressed,
}
Expand description
physical button state
Describes the physical state of a button that produced the button event.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Released
button is not pressed
Pressed
button is pressed
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnwindSafe for ButtonState
Blanket Implementations
Mutably borrows from an owned value. Read more