#[non_exhaustive]pub enum PointerKind {
Mouse,
Touch(FingerId),
TabletTool(TabletToolKind),
Unknown,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PointerKind
impl Clone for PointerKind
impl Copy for PointerKind
Source§impl Debug for PointerKind
impl Debug for PointerKind
impl Eq for PointerKind
Source§impl From<PointerSource> for PointerKind
impl From<PointerSource> for PointerKind
Source§fn from(source: PointerSource) -> Self
fn from(source: PointerSource) -> Self
Converts to this type from the input type.
Source§impl Hash for PointerKind
impl Hash for PointerKind
Source§impl PartialEq for PointerKind
impl PartialEq for PointerKind
impl StructuralPartialEq for PointerKind
Auto Trait Implementations§
impl Freeze for PointerKind
impl RefUnwindSafe for PointerKind
impl Send for PointerKind
impl Sync for PointerKind
impl Unpin for PointerKind
impl UnsafeUnpin for PointerKind
impl UnwindSafe for PointerKind
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