Struct rayon::par_iter::vec::VecProducer
[−]
[src]
pub struct VecProducer<'data, T: 'data + Send> { /* fields omitted */ }
////////////////////////////////////////////////////////////////////////
Trait Implementations
impl<'data, T: 'data + Send> Producer for VecProducer<'data, T>
[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
fn weighted(&self) -> bool
Reports whether the producer has explicit weights.
impl<'data, T: 'data + Send> IntoIterator for VecProducer<'data, T>
[src]
type Item = T
The type of the elements being iterated over.
type IntoIter = SliceDrain<'data, T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more