Skip to main content

logos_slice_range

Function logos_slice_range 

Source
pub fn logos_slice_range(start: i64, end: i64, len: usize) -> Range<usize>
Expand description

The 0-based range items start through end names in a sequence of len items, or an empty range when the slice reaches outside it (or runs backwards). ONE definition, like logos_offset, and 64-bit on every target.