pub enum EntryDataRef<'a, K, V> {
Insert {
key: &'a K,
value: &'a V,
},
Remove(&'a K),
}
Expand description
The reference of the EntryData
.
Variants§
Trait Implementations§
Source§impl<'a, K, V> Clone for EntryDataRef<'a, K, V>
impl<'a, K, V> Clone for EntryDataRef<'a, K, V>
Source§fn clone(&self) -> EntryDataRef<'a, K, V>
fn clone(&self) -> EntryDataRef<'a, K, V>
Returns a copy 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<'a, K, V> Debug for EntryDataRef<'a, K, V>
impl<'a, K, V> Debug for EntryDataRef<'a, K, V>
Source§impl<'a, K, V> Hash for EntryDataRef<'a, K, V>
impl<'a, K, V> Hash for EntryDataRef<'a, K, V>
Source§impl<'a, K, V> PartialEq for EntryDataRef<'a, K, V>
impl<'a, K, V> PartialEq for EntryDataRef<'a, K, V>
impl<'a, K, V> Copy for EntryDataRef<'a, K, V>
impl<'a, K, V> Eq for EntryDataRef<'a, K, V>
impl<'a, K, V> StructuralPartialEq for EntryDataRef<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for EntryDataRef<'a, K, V>
impl<'a, K, V> RefUnwindSafe for EntryDataRef<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for EntryDataRef<'a, K, V>
impl<'a, K, V> Sync for EntryDataRef<'a, K, V>
impl<'a, K, V> Unpin for EntryDataRef<'a, K, V>
impl<'a, K, V> UnwindSafe for EntryDataRef<'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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.