pub trait ManhattanDistance<T> {
// Required method
fn manhattan_distance(self, other: Self) -> T;
}
Required Methods§
fn manhattan_distance(self, other: Self) -> T
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.