Expand description
Module defining transformations among iterables.
Structs§
- Chained
- An iterable created by chaining two iterables.
- Chained
Col - An iterable collection created by chaining two iterable collections.
- Cloned
- An iterable whose iterators yield elements which are clones of references that a wrapped iterable yields.
- Cloning
Iterable - An iterable created from an
Iterator
which can beClone
d. - Copied
- An iterable whose iterators yield elements which are copies of references that a wrapped iterable yields.
- Enumerated
- Wraps an
Iterable
and creates a newIterable
which yields the element indices together with the elements. - Filter
Mapped - Wraps an
Iterable
and creates a newIterable
which filters-and-maps the elements of the original iterable. - Filtered
- Wraps an
Iterable
and creates a newIterable
which yields elements of the original iterable filtered by a predicate. - Filtered
Col - Wraps an
Collection
and creates a newCollection
which yields elements of the original iterable filtered by a predicate. - Filtered
ColIter - Immutable iterator over the filtered iterable collection.
- Filtered
ColIter Mut - Mutable iterator over the filtered iterable collection.
- Flat
Mapped - Wraps an
Iterable
and creates a newIterable
which maps-and-flattens the elements of the original iterable. - Flat
Mapped Iter - Flat mapped iterator for iterables.
- Flattened
- Wraps an
Iterable
and creates a newIterable
which flattens the elements of the original iterable filtered by a predicate. - Flattened
Col - Wraps an
Collection
and creates a newCollection
which flattens the elements of the original iterable filtered by a predicate. - Fused
- Wraps an
Iterable
and transforms into a fusedIterable
. - Fused
Col - Wraps an
Collection
and transforms into a fusedCollection
. - Mapped
- Wraps an
Iterable
and creates a newIterable
which maps the elements of the original iterable. - Mapped
While - Wraps an
Iterable
and creates a newIterable
which maps the elements of the original iterable as long as the map-while condition is satisfied. - Reversed
- Wraps an
Iterable
and creates a newIterable
which yields the elements of the original iterable in reverse order. - Reversed
Col - Wraps an
Collection
and creates a newCollection
which yields the elements of the original iterable in reverse order. - Skipped
- Wraps an
Iterable
and creates a newIterable
which skips firstn
the elements of the original iterable. - Skipped
Col - Wraps an
Collection
and creates a newCollection
which skips firstn
the elements of the original iterable. - Skipped
While - Wraps an
Iterable
and creates a newIterable
which skips the elements of the original iterable that satisfy a given predicate and yields the remaining. - Skipped
While Col - Wraps an
Collection
and creates a newCollection
which skips the elements of the original iterable that satisfy a given predicate and yields the remaining. - Skipped
While ColIter - Immutable iterator for skipped while iterable collection.
- Skipped
While ColIter Mut - Mutable iterator for skipped while iterable collection.
- Stepped
By - Wraps an
Iterable
and creates a newIterable
which yields elements of the original iterable by stepping by a given step size. - Stepped
ByCol - Wraps an
Collection
and creates a newCollection
which yields elements of the original iterable by stepping by a given step size. - Taken
- Wraps an
Iterable
and creates a newIterable
which yields only the firstn
the elements of the original iterable. - Taken
Col - Wraps an
Collection
and creates a newCollection
which yields only the firstn
the elements of the original iterable. - Taken
While - Wraps an
Iterable
and creates a newIterable
which yields elements of the original iterable as long as a predicate is satisfied. - Taken
While Col - Wraps an
Collection
and creates a newCollection
which yields elements of the original iterable as long as a predicate is satisfied. - Taken
While ColIter - Immutable iterator for taken while iterable collections.
- Taken
While ColIter Mut - Mutable iterator for taken while iterable collections.
- Zipped
- An iterable created by zipping two iterables.
Traits§
- Into
Cloning Iterable - Trait to transform types implementing
Iterator + Clone
into anIterable
.