Lyricdev
GitHub

struct MapEntriesIter

pub struct MapEntriesIter<K :: [Hashable], V, H :: [Hasher]> :: [Iterator]

Conforms to Iterator.

Iterates over a map's entries, (K, V), slot by slot; made by Map.iter.

Panics

A pull panics (LYR-RT0016) when the map changed since the iterator was made.

Methods

pub mut fn next(): ?(K, V)