Create an iterator traversing this map. The iterator type is `(K, V)`.
(&'a self, forest: &'a MapForest<K, V>)
| 223 | |
| 224 | /// Create an iterator traversing this map. The iterator type is `(K, V)`. |
| 225 | pub fn iter<'a>(&'a self, forest: &'a MapForest<K, V>) -> MapIter<'a, K, V> { |
| 226 | MapIter { |
| 227 | root: self.root, |
| 228 | pool: &forest.nodes, |
| 229 | path: Path::default(), |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | /// Consume this map and its forest, yielding `(K, V)` pairs from the map. |
| 234 | pub fn into_iter(self, forest: MapForest<K, V>) -> MapIntoIter<K, V> { |
no outgoing calls
no test coverage detected