pub trait Bounded<T: PartialOrd> { fn bounds(&self) -> (T, T); }
Bounds on a scalar value
Minimum and maximum values (inclusive).
Values x must satisfy min <= x && x <= max. If max < min then the interval is empty.