pub struct HashMapWithDefault<K, V> { /* private fields */ }
Expand description
Implementations§
source§impl<K, V> HashMapWithDefault<K, V>
impl<K, V> HashMapWithDefault<K, V>
sourcepub fn mut_default(&mut self) -> &mut V
pub fn mut_default(&mut self) -> &mut V
Returns a mutable reference to the default value.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> RefUnwindSafe for HashMapWithDefault<K, V>where K: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V> Send for HashMapWithDefault<K, V>where K: Send, V: Send,
impl<K, V> Sync for HashMapWithDefault<K, V>where K: Sync, V: Sync,
impl<K, V> Unpin for HashMapWithDefault<K, V>where K: Unpin, V: Unpin,
impl<K, V> UnwindSafe for HashMapWithDefault<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