Functions§
- Uses a sorted slice
data: &[E]as a kind of “multi-map”. Thekey_fnextracts a key of typeKfrom the data, and this function finds the range of elements that match the key.datamust have been sorted as if by a call tosort_by_keyfor this to work.