Iterate over all the keys and values in this map.
(&self)
| 80 | |
| 81 | /// Iterate over all the keys and values in this map. |
| 82 | pub fn iter(&self) -> Iter<'_, K, V> { |
| 83 | Iter::new(self.elems.iter()) |
| 84 | } |
| 85 | |
| 86 | /// Iterate over all the keys and values in this map, mutable edition. |
| 87 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { |