Struct rayon::par_iter::reduce::ReduceWithOp [] [src]

pub struct ReduceWithOp<'r, OP: 'r> {
    // some fields omitted
}

Methods

impl<'r, OP> ReduceWithOp<'r, OP>

fn new(op: &'r OP) -> ReduceWithOp<'r, OP>

Trait Implementations

impl<'r, ITEM, OP> ReduceOp<Option<ITEM>> for ReduceWithOp<'r, OP> where OP: Fn(ITEM, ITEM) -> ITEM + Sync + 'r

fn start_value(&self) -> Option<ITEM>

fn reduce(&self, value1: Option<ITEM>, value2: Option<ITEM>) -> Option<ITEM>