Struct jobsteal::iter::FlatMap [] [src]

pub struct FlatMap<T, F> { /* fields omitted */ }

Flat Mapping iterator adapter.

This produces an iterator for each item, and then yields the items of those iterators.

Trait Implementations

impl<T: Spliterator, F, U> Spliterator for FlatMap<T, F> where
    F: Sync + Fn(T::Item) -> U,
    U: IntoIterator
[src]

The item this iterator produces.

The splittable base data which this consists of.

A consumer which can act as an ad-hoc iterator adapter chain while being shared across threads. Read more

Destructure this iterator into a splittable base and a shareable consumer of that base. Read more

Clone the items of this iterator to get owned copies.

Enumerate items by their index.

Filter items by some predicate.

Produce an iterator for each element, and then yield the elements of those iterators.

Map the items of this iterator to another type using the supplied function.

Zip this iterator with another, combining their items in a tuple. Read more

Whether any of the elements fulfill the supplied predicate.

Whether all of the elements fulfill the supplied predicate.

Consume this iterator, performing an action for each item.

Collect the items of this iterator into a combinable collection. Read more

Fold the items of the iterator together with the given operation and initial state. Read more

A lower bound and optional upper bound on the size of this iterator.

Uses a cost multiplier for this iterator. Read more

impl<In: IntoIterator, T: Consumer<In>, F, I> Consumer<FlatMapBase<In>> for FlatMap<T, F> where
    F: Sync + Fn(T::Item) -> I,
    I: IntoIterator
[src]

Consume the iterator, typically by passing it on to the parent consumer along with a callback which will receive a producer of items to transform. Read more

impl<T: Clone, F: Clone> Clone for FlatMap<T, F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more