Iterate over all the keys and values in this map, mutable edition.
(&mut self)
| 85 | |
| 86 | /// Iterate over all the keys and values in this map, mutable edition. |
| 87 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { |
| 88 | IterMut::new(self.elems.iter_mut()) |
| 89 | } |
| 90 | |
| 91 | /// Returns the last element that was inserted in the map. |
| 92 | pub fn last(&self) -> Option<&V> { |