num_bound
Trait that adds a bound function enabling to restrict a number to a range.
Automatically implemented for anything that implements std trait Ord.
Usage
bound(&self, lower: &Self, upper: &Self) -> &Self
use Bound;
Trait that adds a bound function enabling to restrict a number to a range.
Automatically implemented for anything that implements std trait Ord.
bound(&self, lower: &Self, upper: &Self) -> &Self
use Bound;