Trait hsluv::Hsl
[−]
[src]
pub trait Hsl: From<Rgb> { fn new(hue: f64, saturation: f64, lightness: f64) -> Result<Self, HslBounds>; fn hue(&self) -> f64; fn hue_ref(&self) -> &f64; fn hue_mut(&mut self) -> &mut f64; fn saturation(&self) -> f64; fn saturation_ref(&self) -> &f64; fn saturation_mut(&mut self) -> &mut f64; fn lightness(&self) -> f64; fn lightness_ref(&self) -> &f64; fn lightness_mut(&mut self) -> &mut f64; }