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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§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