pub trait BoundedMeasure: Measure + Sub<Self, Output = Self> {
// Required methods
fn min() -> Self;
fn max() -> Self;
fn overflowing_add(self, rhs: Self) -> (Self, bool);
}
Required Methods§
fn min() -> Self
fn max() -> Self
fn overflowing_add(self, rhs: Self) -> (Self, bool)
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.