pub enum PointerSource {
Mouse,
Touch,
}Expand description
The kind of device a pointer contact comes from — one half of a
PointerId.
Variants§
Mouse
The mouse (or any single-cursor host pointer a shell reports as one).
Touch
A touch contact — one finger on a touchscreen.
Trait Implementations§
Source§impl Clone for PointerSource
impl Clone for PointerSource
impl Copy for PointerSource
Source§impl Debug for PointerSource
impl Debug for PointerSource
impl Eq for PointerSource
Source§impl Hash for PointerSource
impl Hash for PointerSource
Source§impl PartialEq for PointerSource
impl PartialEq for PointerSource
impl StructuralPartialEq for PointerSource
Auto Trait Implementations§
impl Freeze for PointerSource
impl RefUnwindSafe for PointerSource
impl Send for PointerSource
impl Sync for PointerSource
impl Unpin for PointerSource
impl UnsafeUnpin for PointerSource
impl UnwindSafe for PointerSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.