range_size_hint

Function range_size_hint 

Source
pub fn range_size_hint(range: &impl RangeBounds<u64>) -> Option<usize>
Expand description

Returns the length of the range if the range has a bounded end.