Enum printpdf::types::plugins::graphics::color::Color [] [src]

pub enum Color {
    Rgb(Rgb),
    Cmyk(Cmyk),
    Greyscale(Greyscale),
    SpotColor(SpotColor),
}

Wrapper for Rgb, Cmyk and other color types

Variants

Methods

impl Color
[src]

[src]

Consumes the color and converts into into a vector of numbers

[src]

Returns if the color has an icc profile attached

Trait Implementations

impl Debug for Color
[src]

[src]

Formats the value using the given formatter.

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Color
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.