Struct printpdf::types::plugins::graphics::icc_profile::IccProfile
[−]
[src]
pub struct IccProfile { pub has_alternate: bool, pub has_range: bool, // some fields omitted }
Icc profile
Fields
has_alternate: bool
Does the ICC profile have an "Alternate" version or not?
has_range: bool
Does the ICC profile have an "Range" dictionary Really not sure why this is needed, but this is needed on the documents Info dictionary
Methods
impl IccProfile
[src]
fn new(icc: Vec<u8>, icc_type: IccProfileType) -> Self
[src]
Creates a new Icc Profile
fn with_alternate_profile(self, has_alternate: bool) -> Self
[src]
Does the ICC profile have an alternate version (such as "DeviceCMYk")?
fn with_range(self, has_range: bool) -> Self
[src]
Does the ICC profile have an "Range" dictionary?
Trait Implementations
impl Debug for IccProfile
[src]
impl Clone for IccProfile
[src]
fn clone(&self) -> IccProfile
[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
impl PartialEq for IccProfile
[src]
fn eq(&self, __arg_0: &IccProfile) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IccProfile) -> bool
[src]
This method tests for !=
.