Function num_iter::range_step_inclusive
source · [−]pub fn range_step_inclusive<A>(
start: A,
stop: A,
step: A
) -> RangeStepInclusive<A>ⓘNotable traits for RangeStepInclusive<A>impl<A> Iterator for RangeStepInclusive<A>where
A: CheckedAdd + PartialOrd + Clone + PartialEq, type Item = A;
where
A: CheckedAdd + PartialOrd + Clone + Zero,
Expand description
Return an iterator over the range [start, stop] by step
. It handles overflow by stopping.