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

pub struct Rgb {
    pub r: f64,
    pub g: f64,
    pub b: f64,
    pub icc_profile: Option<IccProfileRef>,
}

RGB color

Fields

Methods

impl Rgb
[src]

[src]

Trait Implementations

impl Debug for Rgb
[src]

[src]

Formats the value using the given formatter.

impl Clone for Rgb
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Rgb
[src]

[src]

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

[src]

This method tests for !=.