Struct cssparser_color::Lch
source · pub struct Lch {
pub lightness: Option<f32>,
pub chroma: Option<f32>,
pub hue: Option<f32>,
pub alpha: Option<f32>,
}
Expand description
Color specified by lightness, chroma and hue components.
Fields§
§lightness: Option<f32>
The lightness component.
chroma: Option<f32>
The chroma component.
hue: Option<f32>
The hue component.
alpha: Option<f32>
The alpha component.
Implementations§
Trait Implementations§
impl Copy for Lch
impl StructuralPartialEq for Lch
Auto Trait Implementations§
impl RefUnwindSafe for Lch
impl Send for Lch
impl Sync for Lch
impl Unpin for Lch
impl UnwindSafe for Lch
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