pub struct EntryRef<'a, K, V> {
pub data: EntryDataRef<'a, K, V>,
pub version: u64,
}
Expand description
The reference of the Entry
.
Fields§
§data: EntryDataRef<'a, K, V>
§version: u64
Implementations§
Trait Implementations§
source§impl<'a, K, V> PartialEq for EntryRef<'a, K, V>
impl<'a, K, V> PartialEq for EntryRef<'a, K, V>
impl<'a, K, V> Copy for EntryRef<'a, K, V>
impl<'a, K, V> Eq for EntryRef<'a, K, V>
impl<'a, K, V> StructuralPartialEq for EntryRef<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for EntryRef<'a, K, V>
impl<'a, K, V> RefUnwindSafe for EntryRef<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for EntryRef<'a, K, V>
impl<'a, K, V> Sync for EntryRef<'a, K, V>
impl<'a, K, V> Unpin for EntryRef<'a, K, V>
impl<'a, K, V> UnwindSafe for EntryRef<'a, K, V>where
K: RefUnwindSafe,
V: 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.