pub trait EuclideanDistance {
// Required method
fn euclidean_distance(&self, other: Self) -> f32;
}Expand description
Trait that implements Euclidean distance for color
Required Methods§
fn euclidean_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.