Function iterative_methods::step_by [−][src]
pub fn step_by<I, T>(it: I, step: usize) -> StepBy<I> where
I: Sized + StreamingIterator<Item = T>,
Expand description
Creates an iterator starting at the same point, but stepping by the given amount at each iteration.
This is a StreamingIterator
version of step_by
in std::iter::Iterator