Module index_many::slice_index [−][src]
Expand description
A variant of the API that also works with ranges.
The elements have to be sorted, and not overlap. This ensures that
only O(N)
comparisons are needed at runtime to verify the indices are in bounds.