Module range_set::range_compare
source · Expand description
Type and functions for comparing inclusive ranges
Enums
- Result of comparing a pair of ranges
(A,B)
- Ways in which a pair of ranges
(A,B)
can be disjoint - Ways in which a pair of ranges
(A,B)
can intersect
Functions
- Compute the intersection of two inclusive ranges. Returns an empty range if they are disjoint.
- Compare two inclusive ranges.