Skip to main content

Module interval

Module interval 

Expand description

Closed-open intervals, and operations on them.

Structs§

Interval
A fancy version of Range, representing a closed-open range; the interval [5, 7) is the set {5, 6}.

Traits§

IntervalBounds
A trait for types that represent unbounded ranges; they need an explicit upper bound in order to be converted to Intervals.