pub struct Lab {
pub l: f32,
pub a: f32,
pub b: f32,
}Expand description
Represents a color in the CIELAB color space.
Fields§
§l: f32Luminance (0.0 to 100.0)
a: f32Green-Red component (-128.0 to 127.0)
b: f32Blue-Yellow component (-128.0 to 127.0)
Trait Implementations§
impl Copy for Lab
impl StructuralPartialEq for Lab
Auto Trait Implementations§
impl Freeze for Lab
impl RefUnwindSafe for Lab
impl Send for Lab
impl Sync for Lab
impl Unpin for Lab
impl UnwindSafe for Lab
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