pub fn iter_mut(&mut self) -> IterMut<K, V> {
        let len = self.len();
        let mut it = self.slots.iter_mut().enumerate();
        it.next(); // Skip sentinel.
        IterMut {
            num_left: len,
            slots: it,
            _k: PhantomData,
        }
    }
/// An iterator visiting all key-value pairs in arbitrary order, with
/// mutable references to the values. The iterator element type is
/// `(K, &'a mut V)`.
///
/// This function must iterate over all slots, empty or not. In the face of
/// many deleted elements it can be inefficient.
///
/// # Examples
///
/// ```
/// # use slotmap::*;
/// let mut sm = SlotMap::new();
/// let k0 = sm.insert(10);
/// let k1 = sm.insert(20);
/// let k2 = sm.insert(30);
///
/// for (k, v) in sm.iter_mut() {
///     if k != k1 {
///         *v *= -1;
///     }
/// }
///
/// assert_eq!(sm[k0], -10);
/// assert_eq!(sm[k1], 20);
/// assert_eq!(sm[k2], -30);
/// ```
An iterator visiting all key-value pairs in arbitrary order, with
mutable references to the values. The iterator element type is
`(K, &'a mut V)`.

This function must iterate over all slots, empty or not. In the face of
many deleted elements it can be inefficient.
An iterator visiting all key - value pairs in arbitrary order with mutable references to the values . The iterator element type is ` ( K & ' a mut V ) ` . This function must iterate over all slots empty or not . In the face of many deleted elements it can be inefficient .
pub fn iter_mut(&mut self) -> IterMut<K, V> {
        let len = self.len();
        let mut it = self.slots.iter_mut().enumerate();
        it.next(); // Skip sentinel.
        IterMut {
            num_left: len,
            slots: it,
            _k: PhantomData,
        }
    }
pub fn iter_mut ( & mut self ) -> IterMut < K , V > { let len = self . len ( ) ; let mut it = self . slots . iter_mut ( ) . enumerate ( ) ; it . next ( ) ; // Skip sentinel. IterMut { num_left : len , slots : it , _k : PhantomData , } }
An iterator visiting all key-value pairs in arbitrary order, with
mutable references to the values.
An iterator visiting all key - value pairs in arbitrary order with mutable references to the values .
&mut self
examples
None
use slotmap::*;
None