Struct rayon::par_iter::zip::ZipProducer [] [src]

pub struct ZipProducer<A: Producer, B: Producer> {
    // some fields omitted
}

Trait Implementations

impl<A: Producer, B: Producer> Producer for ZipProducer<A, B>
[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<A: Producer, B: Producer> IntoIterator for ZipProducer<A, B>
[src]

type Item = (A::Item, B::Item)

The type of the elements being iterated over.

type IntoIter = Zip<A::IntoIter, B::IntoIter>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more