Module iter

Source
Expand description

GAT equivalent of std iterator traits, often referred to as a lending iterator

Structs§

Chain
See Iterator::chain
Enumerate
See Iterator::enumerate
Filter
See Iterator::filter
FromCore
See [IntoLending::into_lending]
Map
See Iterator::map
Scan
See Iterator::scan
Skip
See Iterator::skip
SkipWhile
See Iterator::skip_while
StepBy
See Iterator::step_by
Take
See Iterator::take
TakeWhile
See Iterator::take_while
Touch
See Iterator::touch
Zip
See Iterator::zip

Traits§

IntoIterator
Trait for values which can be converted into an Iterator
IntoLending
Trait for converting a normal, non-lending iterator into a lending iterator.
Iterator
A lending iterator, whose items may have their lifetimes tied to the individual borrow of the iterator. This allows for things like yielding mutable references that overlap, with the trade-off that there’s no generic collect interface - the items of this iterator cannot co-exist.