Function transducers::reduce_iter
[−]
[src]
pub fn reduce_iter<'t, R, T, U, I: Iterator<Item = U>, Fold: Fn(R, T) -> R + 't, Trans: Transducer<'t, R, T, U>>(
iter: I,
seed: R,
fold: Fold,
trans: Trans
) -> R where
Trans::Step: 't,
Applies the fold
reduction operation on iter
transformed by trans
.