Module flatten

Source

Structsยง

FlatMap
An iterator that maps each element to an iterator, and yields the elements of the produced iterators.
Flatten
An iterator that flattens one level of nesting in an iterator of things that can be turned into iterators.
FlattenCompat ๐Ÿ”’ Experimental
Real logic of both Flatten and FlatMap which simply delegate to this type.

Traitsยง

ConstSizeIntoIterator ๐Ÿ”’
OneShot ๐Ÿ”’
Specialization trait for iterator types that never return more than one item.

Functionsยง

advance_by_one ๐Ÿ”’
and_then_or_clear ๐Ÿ”’
flatten_one ๐Ÿ”’
into_item ๐Ÿ”’
try_flatten_one ๐Ÿ”’