Function iterative_methods::inspect [−][src]
pub fn inspect<I, F, T>(it: I, f: F) -> Annotate<I, T, F, ()> where
I: Sized + StreamingIterator<Item = T>,
F: FnMut(&T),
T: Clone,
Expand description
Apply f(_)->()
to every underlying item (for side-effects).