pub struct Okhsl {
pub h: f32,
pub s: f32,
pub l: f32,
}Expand description
A colour in OkHsl: hue in degrees (0 to 360), saturation and lightness from 0 to 1, saturation relative to the most the sRGB gamut holds at that hue and lightness.
Fields§
§h: f32§s: f32§l: f32Implementations§
Trait Implementations§
impl Copy for Okhsl
impl StructuralPartialEq for Okhsl
Auto Trait Implementations§
impl Freeze for Okhsl
impl RefUnwindSafe for Okhsl
impl Send for Okhsl
impl Sync for Okhsl
impl Unpin for Okhsl
impl UnsafeUnpin for Okhsl
impl UnwindSafe for Okhsl
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