pub struct PersistentDeviceId(/* private fields */);Expand description
An identifier for the pointing device that is stable across the session.
PointerId(1) is reserved for the primary pointer.
Implementations§
Trait Implementations§
Source§impl Clone for PersistentDeviceId
impl Clone for PersistentDeviceId
Source§fn clone(&self) -> PersistentDeviceId
fn clone(&self) -> PersistentDeviceId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistentDeviceId
impl Debug for PersistentDeviceId
Source§impl Hash for PersistentDeviceId
impl Hash for PersistentDeviceId
Source§impl Ord for PersistentDeviceId
impl Ord for PersistentDeviceId
Source§fn cmp(&self, other: &PersistentDeviceId) -> Ordering
fn cmp(&self, other: &PersistentDeviceId) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PersistentDeviceId
impl PartialEq for PersistentDeviceId
Source§impl PartialOrd for PersistentDeviceId
impl PartialOrd for PersistentDeviceId
impl Copy for PersistentDeviceId
impl Eq for PersistentDeviceId
impl StructuralPartialEq for PersistentDeviceId
Auto Trait Implementations§
impl Freeze for PersistentDeviceId
impl RefUnwindSafe for PersistentDeviceId
impl Send for PersistentDeviceId
impl Sync for PersistentDeviceId
impl Unpin for PersistentDeviceId
impl UnwindSafe for PersistentDeviceId
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