pub struct Cmyk {
pub cyan: f64,
pub magenta: f64,
pub yellow: f64,
pub black: f64,
}
Expand description
Represents a color in the CMYK color space.
Fields§
§cyan: f64
Cyan channel as percentage [0–100]
magenta: f64
Magenta channel as percentage [0–100]
yellow: f64
Yellow channel as percentage [0–100]
black: f64
Black (Key) channel as percentage [0–100]
Auto Trait Implementations§
impl Freeze for Cmyk
impl RefUnwindSafe for Cmyk
impl Send for Cmyk
impl Sync for Cmyk
impl Unpin for Cmyk
impl UnwindSafe for Cmyk
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