pub enum TabletToolButton {
Contact,
Barrel,
Other(u16),
}Expand description
Describes a button of a tool, e.g. a pen.
Variants§
Trait Implementations§
Source§impl Clone for TabletToolButton
impl Clone for TabletToolButton
Source§fn clone(&self) -> TabletToolButton
fn clone(&self) -> TabletToolButton
Returns a duplicate 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 moreSource§impl Debug for TabletToolButton
impl Debug for TabletToolButton
Source§impl From<TabletToolButton> for Option<MouseButton>
impl From<TabletToolButton> for Option<MouseButton>
Source§fn from(tool: TabletToolButton) -> Self
fn from(tool: TabletToolButton) -> Self
Converts to this type from the input type.
Source§impl Hash for TabletToolButton
impl Hash for TabletToolButton
Source§impl Ord for TabletToolButton
impl Ord for TabletToolButton
Source§fn cmp(&self, other: &TabletToolButton) -> Ordering
fn cmp(&self, other: &TabletToolButton) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TabletToolButton
impl PartialEq for TabletToolButton
Source§impl PartialOrd for TabletToolButton
impl PartialOrd for TabletToolButton
impl Copy for TabletToolButton
impl Eq for TabletToolButton
impl StructuralPartialEq for TabletToolButton
Auto Trait Implementations§
impl Freeze for TabletToolButton
impl RefUnwindSafe for TabletToolButton
impl Send for TabletToolButton
impl Sync for TabletToolButton
impl Unpin for TabletToolButton
impl UnwindSafe for TabletToolButton
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more