pub enum PointerType {
Mouse,
Touch,
Pen,
}Expand description
Enumerates the types of pointer devices.
Variants§
Mouse
The pointer device is a mouse.
Touch
The pointer device is a touch contact.
Pen
The pointer device is a pen.
Trait Implementations§
Source§impl Clone for PointerType
impl Clone for PointerType
impl Copy for PointerType
Source§impl Debug for PointerType
impl Debug for PointerType
Source§impl Default for PointerType
impl Default for PointerType
impl Eq for PointerType
Source§impl Hash for PointerType
impl Hash for PointerType
Source§impl MarkupTyped for PointerType
impl MarkupTyped for PointerType
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for PointerType
impl PartialEq for PointerType
impl StructuralPartialEq for PointerType
Auto Trait Implementations§
impl Freeze for PointerType
impl RefUnwindSafe for PointerType
impl Send for PointerType
impl Sync for PointerType
impl Unpin for PointerType
impl UnsafeUnpin for PointerType
impl UnwindSafe for PointerType
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
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