Function wd_iterable

Source
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.