Enum gdk4::DeviceToolType [−][src]
#[non_exhaustive]
pub enum DeviceToolType {
Unknown,
Pen,
Eraser,
Brush,
Pencil,
Airbrush,
Mouse,
Lens,
// some variants omitted
}
Expand description
Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Tool is of an unknown type.
Tool is a standard tablet stylus.
Tool is standard tablet eraser.
Tool is a brush stylus.
Tool is a pencil stylus.
Tool is an airbrush stylus.
Tool is a mouse.
Tool is a lens cursor.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for DeviceToolType
impl Send for DeviceToolType
impl Sync for DeviceToolType
impl Unpin for DeviceToolType
impl UnwindSafe for DeviceToolType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.