Function iterative_methods::wd_iterable[][src]

pub fn wd_iterable<I, T, F>(it: I, f: F) -> Weight<I, T, F> where
    I: StreamingIterator<Item = T>,
    F: FnMut(&T) -> f64
Expand description

Annotates items of an iterable with a weight using a function f.