pub trait AbsDiff {
type Abs: Num + PartialOrd + Copy + Debug + Send + Sync;
// Required methods
fn max_abs_diff() -> Self::Abs;
fn abs_diff(self, other: Self) -> Self::Abs;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".