pub struct OkLch {
pub l: f32,
pub c: f32,
pub h: f32,
}Expand description
A color in OKLCH (cylindrical OKLab).
Fields§
§l: f32Lightness [0, 1].
c: f32Chroma (saturation).
h: f32Hue in degrees [0, 360).
Implementations§
Trait Implementations§
impl Copy for OkLch
impl StructuralPartialEq for OkLch
Auto Trait Implementations§
impl Freeze for OkLch
impl RefUnwindSafe for OkLch
impl Send for OkLch
impl Sync for OkLch
impl Unpin for OkLch
impl UnsafeUnpin for OkLch
impl UnwindSafe for OkLch
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