pub struct RequiredDict<K, V> { /* private fields */ }Expand description
A dictionary that requires all keys to have values
Implementations§
Trait Implementations§
Source§impl<K, V: Clone> Clone for RequiredDict<K, V>
impl<K, V: Clone> Clone for RequiredDict<K, V>
Source§impl<K, V: Hash> Hash for RequiredDict<K, V>
impl<K, V: Hash> Hash for RequiredDict<K, V>
Source§impl<K: DictKey, V> Index<K> for RequiredDict<K, V>
impl<K: DictKey, V> Index<K> for RequiredDict<K, V>
Source§impl<K: DictKey, V> IndexMut<K> for RequiredDict<K, V>
impl<K: DictKey, V> IndexMut<K> for RequiredDict<K, V>
Source§impl<K, V: Ord> Ord for RequiredDict<K, V>
impl<K, V: Ord> Ord for RequiredDict<K, V>
Source§impl<K, V: PartialEq> PartialEq for RequiredDict<K, V>
impl<K, V: PartialEq> PartialEq for RequiredDict<K, V>
Source§impl<K, V: PartialOrd> PartialOrd for RequiredDict<K, V>
impl<K, V: PartialOrd> PartialOrd for RequiredDict<K, V>
impl<K, V: Eq> Eq for RequiredDict<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for RequiredDict<K, V>
impl<K, V> RefUnwindSafe for RequiredDict<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for RequiredDict<K, V>
impl<K, V> Sync for RequiredDict<K, V>
impl<K, V> Unpin for RequiredDict<K, V>
impl<K, V> UnwindSafe for RequiredDict<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