Iterate over all the keys and values in this map.
(&self)
| 117 | |
| 118 | /// Iterate over all the keys and values in this map. |
| 119 | pub fn iter(&self) -> Iter<'_, K, V> { |
| 120 | Iter::new(self.elems.iter()) |
| 121 | } |
| 122 | |
| 123 | /// Iterate over all the keys and values in this map, mutable edition. |
| 124 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { |