Crate numerated

Source
Expand description

Crate for working with Numerated types and their sets: [Interval] and [IntervalsTree].

§Note

In case Numerated is implemented incorrectly for some type T, then this can cause incorrect behavior of [IntervalsTree] and [Interval] for T.

Re-exports§

Modules§

Structs§

Traits§

  • For any type T, Bound<T> is a type, which has set of values bigger than T by one.
  • Numerated type is a type, which has type for distances between any two values of Self, and provide an interface to add/subtract distance to/from value.