pub struct HashMapMonoid<K, V> {
pub inner: HashMap<K, V>,
}Expand description
HashMap viewed as a monoid under union (left-biased merge).
Fields§
§inner: HashMap<K, V>Auto Trait Implementations§
impl<K, V> Freeze for HashMapMonoid<K, V>
impl<K, V> RefUnwindSafe for HashMapMonoid<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapMonoid<K, V>
impl<K, V> Sync for HashMapMonoid<K, V>
impl<K, V> Unpin for HashMapMonoid<K, V>
impl<K, V> UnsafeUnpin for HashMapMonoid<K, V>
impl<K, V> UnwindSafe for HashMapMonoid<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