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§
Object Safety§
This trait is not object safe.