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

pub struct SpotColor {
    pub c: f64,
    pub m: f64,
    pub y: f64,
    pub k: f64,
}

Spot color Spot colors are like Cmyk, but without color space They are essentially "named" colors from specific vendors currently they are the same as a CMYK color.

Fields

c: f64m: f64y: f64k: f64

Implementations

impl SpotColor[src]

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

Trait Implementations

impl Clone for SpotColor[src]

impl Copy for SpotColor[src]

impl Debug for SpotColor[src]

impl PartialEq<SpotColor> for SpotColor[src]

impl StructuralPartialEq for SpotColor[src]

Auto Trait Implementations

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> 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.