Iterate over all the keys and values in this map.
(&self)
| 154 | |
| 155 | /// Iterate over all the keys and values in this map. |
| 156 | pub fn iter(&self) -> Iter<'_, K, V> { |
| 157 | Iter::new(self.elems.iter()) |
| 158 | } |
| 159 | |
| 160 | /// Iterate over all the keys and values in this map, mutable edition. |
| 161 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { |