pub struct Hsv {
pub hue: f64,
pub saturation: f64,
pub value: f64,
}
Expand description
Represents a color in the HSV color space.
Fields§
§hue: f64
Hue in degrees [0–360)
saturation: f64
Saturation as percentage [0–100]
value: f64
Value (brightness) as percentage [0–100]
Auto Trait Implementations§
impl Freeze for Hsv
impl RefUnwindSafe for Hsv
impl Send for Hsv
impl Sync for Hsv
impl Unpin for Hsv
impl UnwindSafe for Hsv
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