[][src]Struct printpdf::types::plugins::graphics::color::Cmyk

pub struct Cmyk {
    pub c: f64,
    pub m: f64,
    pub y: f64,
    pub k: f64,
    pub icc_profile: Option<IccProfileRef>,
}

CMYK color

Fields

c: f64m: f64y: f64k: f64icc_profile: Option<IccProfileRef>

Methods

impl Cmyk[src]

pub fn new(
    c: f64,
    m: f64,
    y: f64,
    k: f64,
    icc_profile: Option<IccProfileRef>
) -> Self
[src]

Creates a new CMYK color

Trait Implementations

impl Clone for Cmyk[src]

impl Debug for Cmyk[src]

impl PartialEq<Cmyk> for Cmyk[src]

impl StructuralPartialEq for Cmyk[src]

Auto Trait Implementations

impl RefUnwindSafe for Cmyk

impl Send for Cmyk

impl Sync for Cmyk

impl Unpin for Cmyk

impl UnwindSafe for Cmyk

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.