Struct jobsteal::iter::CostMul [] [src]

pub struct CostMul<T> { /* fields omitted */ }

A cost multiplier. See the docs of Split::with_cost_mul for more.

Trait Implementations

impl<T: Spliterator> Spliterator for CostMul<T>
[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

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

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

Uses a cost multiplier for this iterator. Read more

impl<T: ExactSizeSpliterator> ExactSizeSpliterator for CostMul<T>
[src]

Get the number of elements in this iterator.

impl<T: Clone> Clone for CostMul<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more