pub enum PointerId {
Mouse(DeviceId),
Contact(ContactId),
}
Expand description
Pointer ID.
Variants§
Trait Implementations§
source§impl Ord for PointerId
impl Ord for PointerId
source§impl PartialEq for PointerId
impl PartialEq for PointerId
source§impl PartialOrd for PointerId
impl PartialOrd for PointerId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PointerId
impl StructuralPartialEq for PointerId
Auto Trait Implementations§
impl Freeze for PointerId
impl RefUnwindSafe for PointerId
impl Send for PointerId
impl Sync for PointerId
impl Unpin for PointerId
impl UnwindSafe for PointerId
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