Expand description
Iterator types produced by LinkedHashMap.
All iterator structs are returned by methods on LinkedHashMap; you
rarely need to name them explicitly.
Structsยง
- Drain
- Draining iterator: removes and yields every
(K, V)pair in insertion order, leaving the map empty. - Into
Iter - Consuming iterator: yields every
(K, V)pair in insertion order, consuming the map. - Iter
- Iterator over
(&K, &V)pairs in insertion order. - IterMut
- Iterator over
(&K, &mut V)pairs in insertion order. - Keys
- Iterator over keys in insertion order.
- Values
- Iterator over values in insertion order.
- Values
Mut - Mutable iterator over values in insertion order.