pub trait AbsDiff: Sized {
type Output;
// Required method
fn abs_diff(self, other: Self) -> Self::Output;
}Expand description
Computes the absolute difference of two values.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".