Module gat_std::iter

source ·
Expand description

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

Structs

Traits

Trait for values which can be converted into an Iterator
Trait for converting a normal, non-lending iterator into a lending 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.