Skip to main content

MapIterMut

Trait MapIterMut 

Source
pub trait MapIterMut: KeyedRef + CollectionMut {
    type IterMut<'a>: Iterator<Item = (Self::KeyRef<'a>, Self::ItemMut<'a>)>
       where Self: 'a;

    // Required method
    fn iter_mut(&mut self) -> Self::IterMut<'_>;
}

Required Associated Types§

Source

type IterMut<'a>: Iterator<Item = (Self::KeyRef<'a>, Self::ItemMut<'a>)> where Self: 'a

Required Methods§

Source

fn iter_mut(&mut self) -> Self::IterMut<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<K, V> MapIterMut for BTreeMap<K, V>

Source§

type IterMut<'a> = IterMut<'a, K, V> where Self: 'a

Source§

fn iter_mut(&mut self) -> Self::IterMut<'_>

Source§

impl<K, V> MapIterMut for HashMap<K, V>

Source§

type IterMut<'a> = IterMut<'a, K, V> where Self: 'a

Source§

fn iter_mut(&mut self) -> Self::IterMut<'_>

Implementors§