Expand description

Types dealing with ranges of values

Macros

The range! macro can make it easier to create ranges. It roughly mirrors traditional mathematic range syntax.

Structs

Represents a range of values.
Represents a one-sided bound.

Enums

The possible sides of a bound.
The type of a range bound.
A tag type representing a lower bound
A tag type representing an upper bound

Traits

A trait implemented by phantom types indicating the type of the bound.
A trait that normalizes a range bound for a type