Enum wayland_protocols::unstable::tablet::v1::client::zwp_tablet_tool_v1::ButtonState [−][src]
#[repr(u32)] #[non_exhaustive] pub enum ButtonState { Released, Pressed, }
physical button state
Describes the physical state of a button that produced the button event.
Variants (Non-exhaustive)
button is not pressed
button is pressed
Implementations
impl ButtonState
[src][−]
Trait Implementations
impl Clone for ButtonState
[src][+]
impl Copy for ButtonState
[src]
impl Debug for ButtonState
[src][+]
impl PartialEq<ButtonState> for ButtonState
[src][+]
impl StructuralPartialEq for ButtonState
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,