pub trait Hue: GetHue {
// Required methods
fn with_hue<H>(&self, hue: H) -> Self
where H: Into<Self::Hue>;
fn shift_hue<H>(&self, amount: H) -> Self
where H: Into<Self::Hue>;
}
Expand description
A trait for colors where the hue can be manipulated without conversion.
Required Methods§
Object Safety§
This trait is not object safe.