Function size_range_with_step

Source
pub fn size_range_with_step<T>(start: T, end: T, step: T) -> usize
Expand description

Compute the required size to go from start to end with step, including the end point (last time step can be smaller).