Struct rayon::par_iter::weight::WeightProducer [] [src]

pub struct WeightProducer<P> {
    // some fields omitted
}

Trait Implementations

impl<P: Producer> Producer for WeightProducer<P>
[src]

fn cost(&mut self, len: usize) -> f64

Cost to produce len items, where len must be N.

fn split_at(self, index: usize) -> (Self, Self)

Split into two producers; one produces items 0..index, the other index..N. Index must be less than N. Read more

impl<P: Producer> IntoIterator for WeightProducer<P>
[src]

type Item = P::Item

The type of the elements being iterated over.

type IntoIter = P::IntoIter

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more