pub trait DeltaE {
type Scalar;
// Required method
fn delta_e(self, other: Self) -> Self::Scalar;
}
Expand description
Calculate the ΔE color difference between two colors.
This represents the original ΔE formula for a color space. It’s often a
Euclidean distance for perceptually uniform color spaces and may not always
be the best option. See the color_difference
module for more
details and options.
Required Associated Types§
Required Methods§
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.