pub fn range_stepped<I: Int>(
start: I,
end: I,
step: impl Int,
) -> impl Iterator<Item = I>
Expand description
Stepped range. Equivalent to:
ⓘ
(start..end).step_by(step)
Allows using any integer for the step, instead of just usize