Crate drng

Crate drng 

Source
Expand description

A disjoint range implementation.

Structs§

DisjointRange
A data structure holding a disjoint set of ranges.
DisjointRangeIter
Iterates a DisjointRange.
OverlapError
An explanation of why an overlap error occurred while inserting to a DisjointRange.
SimpleRange
A range is a pair of min and max values.

Enums§

AddError
Possible errors when inserting a range to a DisjointRange.
RangeCompareResult
An enumeration of possible range comparison outputs.
RangeMode
An enumeration of inclusive / exclusiveness on both ends of a range.

Traits§

Range
Specifies the necessary functionalities of a Range.

Functions§

range_compare
Compares two ranges.