pub struct Oklch {
pub l: f64,
pub c: f64,
pub h: f64,
}Expand description
Perceptual lightness l (0–1), chroma c and hue h in degrees.
Fields§
§l: f64§c: f64§h: f64Implementations§
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