pub trait Valuetools<V>: Iterator<Item = Value<V>> {
// Provided method
fn fold_zipped<B, F>(self, init: B, f: F) -> Value<B>
where Self: Sized,
F: FnMut(B, V) -> B { ... }
}
Expand description
Helper methods when dealing with iterator of Value
.
Provided Methods§
Sourcefn fold_zipped<B, F>(self, init: B, f: F) -> Value<B>
fn fold_zipped<B, F>(self, init: B, f: F) -> Value<B>
Fold zipped values into accumulator, returns Value::unknown()
if
any is Value::unknown()
.