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: f64Cyan channel as percentage [0–100]
magenta: f64Magenta channel as percentage [0–100]
yellow: f64Yellow channel as percentage [0–100]
black: f64Black (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 UnsafeUnpin 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