Struct cssparser_color::Oklab
source · pub struct Oklab {
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§
source§impl PartialEq<Oklab> for Oklab
impl PartialEq<Oklab> for Oklab
impl Copy for Oklab
impl StructuralPartialEq for Oklab
Auto Trait Implementations§
impl RefUnwindSafe for Oklab
impl Send for Oklab
impl Sync for Oklab
impl Unpin for Oklab
impl UnwindSafe for Oklab
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