pub enum TouchDeviceKind {
Touch,
Pen,
Mouse,
}Expand description
The device a touch belongs to.
Variants§
Touch
A finger on the screen.
Pen
A pencil.
Mouse
A pointer that is not on the screen (a mouse or a trackpad).
Trait Implementations§
Source§impl Clone for TouchDeviceKind
impl Clone for TouchDeviceKind
impl Copy for TouchDeviceKind
Source§impl Debug for TouchDeviceKind
impl Debug for TouchDeviceKind
impl Eq for TouchDeviceKind
Source§impl Hash for TouchDeviceKind
impl Hash for TouchDeviceKind
Source§impl PartialEq for TouchDeviceKind
impl PartialEq for TouchDeviceKind
impl StructuralPartialEq for TouchDeviceKind
Auto Trait Implementations§
impl Freeze for TouchDeviceKind
impl RefUnwindSafe for TouchDeviceKind
impl Send for TouchDeviceKind
impl Sync for TouchDeviceKind
impl Unpin for TouchDeviceKind
impl UnsafeUnpin for TouchDeviceKind
impl UnwindSafe for TouchDeviceKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more