pub trait TaxicabDistance {
// Required method
fn taxicab_distance(&self, other: Self) -> f32;
}Expand description
Computes taxicab distance for color, better works for Lab
Required Methods§
fn taxicab_distance(&self, other: Self) -> f32
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.