Module bound

Module bound 

Source
Expand description

A module containing the Bound struct and its implementations. A bound can either include or not include the value: Included(T) and Excluded(T).

§Examples

use timekeep_rs::Bound;
 
let included_bound = Bound::Included(5);
let excluded_bound = Bound::Excluded(5);

Enums§

Bound
Represents a boundary of an interval. Can be either inclusive (closed) or exclusive (open).