pub struct HSL {
pub hue: f64,
pub saturation: f64,
pub lightness: f64,
}Expand description
A color expressed in the hue, saturation, and lightness color space.
Fields§
§hue: f64Hue component.
saturation: f64Saturation component.
lightness: f64Lightness component.
Trait Implementations§
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