Skip to main content

Module range

Module range 

Source
Expand description

Utilities for linear ranges and cyclic spans.

Structs§

EmptyRange
Error returned when attempting to create a non-empty range from an empty range.
NonEmptyRange
A non-empty Range (start..end) where start < end is guaranteed.

Functions§

contains_cyclic
Whether key is in the cyclic span described by the current bounds of span.