pub struct ColorHsl {
pub h: f32,
pub s: f32,
pub l: f32,
}Expand description
A color in HSL (hue, saturation, lightness) space. Hue is in degrees [0, 360), saturation and lightness in [0, 1].
Fields§
§h: f32§s: f32§l: f32Trait Implementations§
impl Copy for ColorHsl
impl StructuralPartialEq for ColorHsl
Auto Trait Implementations§
impl Freeze for ColorHsl
impl RefUnwindSafe for ColorHsl
impl Send for ColorHsl
impl Sync for ColorHsl
impl Unpin for ColorHsl
impl UnsafeUnpin for ColorHsl
impl UnwindSafe for ColorHsl
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