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