pub struct CacheId(/* private fields */);
Expand description
A key for a cached value
Trait Implementations§
Source§impl Ord for CacheId
impl Ord for CacheId
Source§impl PartialOrd for CacheId
impl PartialOrd for CacheId
impl Copy for CacheId
impl Eq for CacheId
impl StructuralPartialEq for CacheId
Auto Trait Implementations§
impl Freeze for CacheId
impl RefUnwindSafe for CacheId
impl Send for CacheId
impl Sync for CacheId
impl Unpin for CacheId
impl UnwindSafe for CacheId
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more