num_bound
Trait that adds a bound function.
Automatically implemented for anything that is Ord
Usage
bound(&self, lower: &Self, upper: &Self) -> &Self
use Bound;
let upper = 500;
let lower = 200;
assert_eq!;
assert_eq!;
assert_eq!;
Trait that adds a bound function.
Automatically implemented for anything that is Ord
bound(&self, lower: &Self, upper: &Self) -> &Self
use Bound;
let upper = 500;
let lower = 200;
assert_eq!;
assert_eq!;
assert_eq!;