Expand description
Utilities for linear ranges and cyclic spans.
Structs§
- Empty
Range - Error returned when attempting to create a non-empty range from an empty range.
- NonEmpty
Range - A non-empty
Range(start..end) wherestart < endis guaranteed.
Functions§
- contains_
cyclic - Whether
keyis in the cyclic span described by the current bounds ofspan.