Struct printpdf::types::plugins::graphics::color::Greyscale
[−]
[src]
pub struct Greyscale { pub percent: f64, pub icc_profile: Option<IccProfileRef>, }
Greyscale color
Fields
percent: f64
icc_profile: Option<IccProfileRef>
Methods
impl Greyscale
[src]
pub fn new(percent: f64, icc_profile: Option<IccProfileRef>) -> Self
[src]
Trait Implementations
impl Debug for Greyscale
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Greyscale
[src]
fn clone(&self) -> Greyscale
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more