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
Iteratorwhich can beCloned. - Copied
- An iterable whose iterators yield elements which are copies of references that a wrapped iterable yields.
- Enumerated
- Wraps an
Iterableand creates a newIterablewhich yields the element indices together with the elements. - Filter
Mapped - Wraps an
Iterableand creates a newIterablewhich filters-and-maps the elements of the original iterable. - Filtered
- Wraps an
Iterableand creates a newIterablewhich yields elements of the original iterable filtered by a predicate. - Filtered
Col - Wraps an
Collectionand creates a newCollectionwhich 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
Iterableand creates a newIterablewhich maps-and-flattens the elements of the original iterable. - Flat
Mapped Iter - Flat mapped iterator for iterables.
- Flattened
- Wraps an
Iterableand creates a newIterablewhich flattens the elements of the original iterable filtered by a predicate. - Flattened
Col - Wraps an
Collectionand creates a newCollectionwhich flattens the elements of the original iterable filtered by a predicate. - Fused
- Wraps an
Iterableand transforms into a fusedIterable. - Fused
Col - Wraps an
Collectionand transforms into a fusedCollection. - Mapped
- Wraps an
Iterableand creates a newIterablewhich maps the elements of the original iterable. - Mapped
While - Wraps an
Iterableand creates a newIterablewhich maps the elements of the original iterable as long as the map-while condition is satisfied. - Reversed
- Wraps an
Iterableand creates a newIterablewhich yields the elements of the original iterable in reverse order. - Reversed
Col - Wraps an
Collectionand creates a newCollectionwhich yields the elements of the original iterable in reverse order. - Skipped
- Wraps an
Iterableand creates a newIterablewhich skips firstnthe elements of the original iterable. - Skipped
Col - Wraps an
Collectionand creates a newCollectionwhich skips firstnthe elements of the original iterable. - Skipped
While - Wraps an
Iterableand creates a newIterablewhich skips the elements of the original iterable that satisfy a given predicate and yields the remaining. - Skipped
While Col - Wraps an
Collectionand creates a newCollectionwhich 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
Iterableand creates a newIterablewhich yields elements of the original iterable by stepping by a given step size. - Stepped
ByCol - Wraps an
Collectionand creates a newCollectionwhich yields elements of the original iterable by stepping by a given step size. - Taken
- Wraps an
Iterableand creates a newIterablewhich yields only the firstnthe elements of the original iterable. - Taken
Col - Wraps an
Collectionand creates a newCollectionwhich yields only the firstnthe elements of the original iterable. - Taken
While - Wraps an
Iterableand creates a newIterablewhich yields elements of the original iterable as long as a predicate is satisfied. - Taken
While Col - Wraps an
Collectionand creates a newCollectionwhich 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 + Cloneinto anIterable.