pub fn wd_iterable<I, T, F>(it: I, f: F) -> Weight<I, T, F>where I: StreamingIterator<Item = T>, F: FnMut(&T) -> f64,
Annotates items of an iterable with a weight using a function f.
f