Module nonempty_collections::iter
source · Expand description
Non-empty iterators.
Structs§
- A non-empty iterator that links two iterators together, in a chain.
- An iterator that clones the elements of an underlying iterator.
- A non-empty iterator that copies the elements of an underlying non-empty iterator.
- An iterator that yields the current count and the element during iteration.
- Flatten nested, non-empty structures.
- A wrapper type for easy derivation of
IntoIterator
for anything that’s alreadyNonEmptyIterator
. - Similar to
std::iter::Map
, but with additional non-emptiness guarantees. - A non-empty iterator that yields an element exactly once.
- A non-empty iterator that only iterates over the first
n
iterations. - A non-empty iterator that “zips up” its sources.
Traits§
- Conversion from a
NonEmptyIterator
. - Convenience trait extending
IntoIterator
. - Conversion into a
NonEmptyIterator
. - Convenience trait extending
Iterator
. - An
Iterator
that is guaranteed to have at least one item.
Functions§
- Creates an iterator that yields an element exactly once.