range_to_bounds

Function range_to_bounds 

Source
fn range_to_bounds(range: impl RangeBounds<usize>) -> Range<usize>
Expand description

Transform a range to explicit start (inclusive) and end (exclusive) bounds.