Struct rayon::par_iter::len::ParallelLen [] [src]

pub struct ParallelLen {
    pub maximal_len: usize,
    pub cost: f64,
    pub sparse: bool,
}

Fields

Maximal number of elements that we will write

An estimate of the "cost" of this operation. This is a kind of abstract concept you can use to influence how fine-grained the threads are.

TODO: refine this metric.

If true, all elements will be written. If false, some may not. For example, sparse will be false if there is a filter. When doing a collect, sparse iterators require a compression step.

Methods

impl ParallelLen
[src]

Trait Implementations

impl Copy for ParallelLen
[src]

impl Clone for ParallelLen
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more