pub struct HashMapDiff<K, V> {
pub added: HashMap<K, V>,
pub removed: HashSet<K>,
}Expand description
Represents the structural difference between two HashMaps.
Fields§
§added: HashMap<K, V>§removed: HashSet<K>Auto Trait Implementations§
impl<K, V> Freeze for HashMapDiff<K, V>
impl<K, V> RefUnwindSafe for HashMapDiff<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapDiff<K, V>
impl<K, V> Sync for HashMapDiff<K, V>
impl<K, V> Unpin for HashMapDiff<K, V>
impl<K, V> UnsafeUnpin for HashMapDiff<K, V>
impl<K, V> UnwindSafe for HashMapDiff<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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