pub enum Hue {
Angle(Angle),
Number(Number),
None,
}Expand description
Variants§
Angle(Angle)
An angle expressed in degrees, gradians, radians, or turns.
Number(Number)
A real number, representing degrees of the hue’s angle.
None
In certain cases, a color can have one or more missing color components. See more in the CSSWG specification
Implementations§
Trait Implementations§
Source§impl AngleStorage for Hue
impl AngleStorage for Hue
Source§impl DegreeStorage for Hue
impl DegreeStorage for Hue
Source§impl GradiantStorage for Hue
impl GradiantStorage for Hue
Source§impl NumberStorage for Hue
impl NumberStorage for Hue
Source§impl RadiantStorage for Hue
impl RadiantStorage for Hue
Source§impl TurnStorage for Hue
impl TurnStorage for Hue
impl StructuralPartialEq for Hue
Auto Trait Implementations§
impl Freeze for Hue
impl RefUnwindSafe for Hue
impl Send for Hue
impl Sync for Hue
impl Unpin for Hue
impl UnwindSafe for Hue
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