pub struct MapBuilder<K, V>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<K: Clone, V: Clone> Clone for MapBuilder<K, V>
impl<K: Clone, V: Clone> Clone for MapBuilder<K, V>
Source§fn clone(&self) -> MapBuilder<K, V>
fn clone(&self) -> MapBuilder<K, V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K, V> MappedTrait<K, V> for MapBuilder<K, V>
impl<K, V> MappedTrait<K, V> for MapBuilder<K, V>
fn for_each(&self, action: &dyn Fn(K, V))
fn get(&self, key: K) -> Result<V>
fn get_or(&self, key: K, fallback: V) -> V
fn has(&self, key: K) -> bool
fn keys(&self) -> Listed<K>
fn len(&self) -> i32
fn to_list(&self) -> List<(K, V)>
fn to_map(&self) -> Map<K, V>
fn to_map_builder(&self) -> MapBuilder<K, V>
fn values(&self) -> Listed<V>
Auto Trait Implementations§
impl<K, V> Freeze for MapBuilder<K, V>
impl<K, V> RefUnwindSafe for MapBuilder<K, V>
impl<K, V> Send for MapBuilder<K, V>
impl<K, V> Sync for MapBuilder<K, V>
impl<K, V> Unpin for MapBuilder<K, V>
impl<K, V> UnwindSafe for MapBuilder<K, V>
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