Function num_iter::range_step
source · [−]pub fn range_step<A>(start: A, stop: A, step: A) -> RangeStep<A>ⓘNotable traits for RangeStep<A>impl<A> Iterator for RangeStep<A>where
A: CheckedAdd + PartialOrd + Clone, 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.