pub struct Id<T>(/* private fields */);
Expand description
Opaque globally-unique identifier
Trait Implementations§
source§impl<T> PartialEq for Id<T>
impl<T> PartialEq for Id<T>
impl<T> Copy for Id<T>
impl<T> Eq for Id<T>
impl<T> Send for Id<T>
impl<T> Sync for Id<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Id<T>where
T: RefUnwindSafe,
impl<T> Unpin for Id<T>
impl<T> UnwindSafe for Id<T>where
T: RefUnwindSafe,
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<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.