Expand description
This crate provides two structs, Advance and CountingAdvance, to help with consuming iterators one step at
a time. Refer to their respective documentation for more information.
Structs§
- Advance
- Wrapper around an iterator. Has to be advanced using the
advancemethod, which will cache the iterator’s next element inself.current. - Counting
Advance - Wrapper around an iterator. Has to be advanced using the
advancemethod, which will cache the iterator’s next element inself.currentand incrementself.counter.