pub struct Hsl {
pub hue: f64,
pub saturation: f64,
pub lightness: f64,
}Expand description
Represents a color in the HSL color space.
Fields§
§hue: f64Hue in degrees [0–360)
saturation: f64Saturation as percentage [0–100]
lightness: f64Lightness as percentage [0–100]
Auto Trait Implementations§
impl Freeze for Hsl
impl RefUnwindSafe for Hsl
impl Send for Hsl
impl Sync for Hsl
impl Unpin for Hsl
impl UnsafeUnpin for Hsl
impl UnwindSafe for Hsl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more