pub trait Bounded { // Required methods fn min_value() -> Self; fn max_value() -> Self; }
Trait for types that have a min and max value. Used by BBox and BBox3D
BBox
BBox3D
Get the minimum value
Get the maximum value
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".