pub trait MinMax {
// Required methods
fn min() -> Self;
fn max() -> Self;
}
Expand description
Trait used for default values with ClosedInterval
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.