Function num::range_step [−][src]
pub fn range_step<A>(start: A, stop: A, step: A) -> RangeStep<A>ⓘwhereNotable traits for RangeStep<A>
impl<A> Iterator for RangeStep<A> where
A: CheckedAdd + PartialOrd<A> + Clone, type Item = A;
A: CheckedAdd + PartialOrd<A> + Clone + Zero,
Return an iterator over the range [start, stop) by step
. It handles overflow by stopping.