pub struct TouchId(pub u64);Expand description
Identifies one finger or pen on a touch surface. Stable from the contact going down to it lifting; reused freely after that, so it is not a handle to keep.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for TouchId
impl Eq for TouchId
Source§impl Ord for TouchId
impl Ord for TouchId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TouchId
impl PartialOrd for TouchId
impl StructuralPartialEq for TouchId
Auto Trait Implementations§
impl Forget for TouchId
impl Freeze for TouchId
impl Move for TouchId
impl RefUnwindSafe for TouchId
impl Send for TouchId
impl Sync for TouchId
impl Unpin for TouchId
impl UnsafeUnpin for TouchId
impl UnwindSafe for TouchId
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