pub struct LabColor {
pub l: f64,
pub a: f64,
pub b: f64,
}Expand description
A CIE Lab* color using a D65 white point approximation.
Fields§
§l: f64Lightness.
a: f64Green-red axis.
b: f64Blue-yellow axis.
Implementations§
Trait Implementations§
Source§impl ColorSpace for LabColor
impl ColorSpace for LabColor
impl Copy for LabColor
Source§impl PartialOrd for LabColor
impl PartialOrd for LabColor
impl StructuralPartialEq for LabColor
Auto Trait Implementations§
impl Freeze for LabColor
impl RefUnwindSafe for LabColor
impl Send for LabColor
impl Sync for LabColor
impl Unpin for LabColor
impl UnsafeUnpin for LabColor
impl UnwindSafe for LabColor
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