Struct cssparser_color::Lab
source · pub struct Lab {
pub lightness: Option<f32>,
pub a: Option<f32>,
pub b: Option<f32>,
pub alpha: Option<f32>,
}
Expand description
Color specified by lightness, a- and b-axis components.
Fields§
§lightness: Option<f32>
The lightness component.
a: Option<f32>
The a-axis component.
b: Option<f32>
The b-axis component.
alpha: Option<f32>
The alpha component.
Implementations§
Trait Implementations§
impl Copy for Lab
impl StructuralPartialEq for Lab
Auto Trait Implementations§
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