Enum smithay::backend::input::TabletToolType [−][src]
pub enum TabletToolType { Pen, Eraser, Brush, Pencil, Airbrush, Mouse, Lens, Totem, }
Expand description
Describes the physical type of tool. The physical type of tool generally defines its base usage.
Variants
A generic pen.
Eraser
A paintbrush-like tool.
Physical drawing tool, e.g. Wacom Inking Pen
An airbrush-like tool.
A mouse bound to the tablet.
A mouse tool with a lens.
A rotary device with positional and rotation data.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TabletToolType
impl Send for TabletToolType
impl Sync for TabletToolType
impl Unpin for TabletToolType
impl UnwindSafe for TabletToolType
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V