Function num::iter::range_step

source ·
pub fn range_step<A>(start: A, stop: A, step: A) -> RangeStep<A> where
    A: CheckedAdd + PartialOrd<A> + Clone + Zero,
Expand description

Return an iterator over the range [start, stop) by step. It handles overflow by stopping.