pub trait Delta: Into<LabValue> {
fn delta<L>(self, other: L, method: DEMethod) -> DeltaE
where
L: Into<LabValue>,
{ ... }
}
Expand description
Trait to determine color difference between various types. As long as the type can be converted to Lab, we can calculate DeltaE.