Function itertools::adaptors::step

source ·
pub fn step<I>(iter: I, step: usize) -> Step<I> where
    I: Iterator,
Expand description

Create a Step iterator.

Panics if the step is 0.