num::iter

Function range_step_inclusive

Source
pub fn range_step_inclusive<A>(
    start: A,
    stop: A,
    step: A,
) -> RangeStepInclusive<A> 
Expand description

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