Struct hash_map_diff::HashMapDiff
source · [−]pub struct HashMapDiff<K, V> where
K: Eq + Hash, {
pub updated: HashMap<K, V>,
pub removed: HashMap<K, V>,
}
Fields
updated: HashMap<K, V>
removed: HashMap<K, V>
Trait Implementations
sourceimpl<K: PartialEq, V: PartialEq> PartialEq<HashMapDiff<K, V>> for HashMapDiff<K, V> where
K: Eq + Hash,
impl<K: PartialEq, V: PartialEq> PartialEq<HashMapDiff<K, V>> for HashMapDiff<K, V> where
K: Eq + Hash,
sourcefn eq(&self, other: &HashMapDiff<K, V>) -> bool
fn eq(&self, other: &HashMapDiff<K, V>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<K: Eq, V: Eq> Eq for HashMapDiff<K, V> where
K: Eq + Hash,
impl<K, V> StructuralEq for HashMapDiff<K, V> where
K: Eq + Hash,
impl<K, V> StructuralPartialEq for HashMapDiff<K, V> where
K: Eq + Hash,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for HashMapDiff<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapDiff<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for HashMapDiff<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for HashMapDiff<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for HashMapDiff<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more