pub enum StandardIccProfile {
SRgb,
AdobeRgb,
ProPhotoRgb,
UswcSwopV2,
CoatedFogra39,
UncoatedFogra29,
GrayGamma22,
}Expand description
Standard ICC profiles commonly used in PDF
Variants§
SRgb
sRGB color space
AdobeRgb
Adobe RGB (1998)
ProPhotoRgb
ProPhoto RGB
UswcSwopV2
U.S. Web Coated (SWOP) v2
CoatedFogra39
Coated FOGRA39 (ISO 12647-2:2004)
UncoatedFogra29
Uncoated FOGRA29 (ISO 12647-2:2004)
GrayGamma22
Generic Gray Gamma 2.2
Implementations§
Source§impl StandardIccProfile
impl StandardIccProfile
Sourcepub fn color_space(&self) -> IccColorSpace
pub fn color_space(&self) -> IccColorSpace
Get the color space for this standard profile
Sourcepub fn profile_name(&self) -> &'static str
pub fn profile_name(&self) -> &'static str
Get the standard name for this profile
Sourcepub fn minimal_profile_data(&self) -> Vec<u8> ⓘ
pub fn minimal_profile_data(&self) -> Vec<u8> ⓘ
Get a minimal ICC profile data for this standard profile Note: In a real implementation, these would be actual ICC profile files
Trait Implementations§
Source§impl Clone for StandardIccProfile
impl Clone for StandardIccProfile
Source§fn clone(&self) -> StandardIccProfile
fn clone(&self) -> StandardIccProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StandardIccProfile
Source§impl Debug for StandardIccProfile
impl Debug for StandardIccProfile
Source§impl PartialEq for StandardIccProfile
impl PartialEq for StandardIccProfile
impl StructuralPartialEq for StandardIccProfile
Auto Trait Implementations§
impl Freeze for StandardIccProfile
impl RefUnwindSafe for StandardIccProfile
impl Send for StandardIccProfile
impl Sync for StandardIccProfile
impl Unpin for StandardIccProfile
impl UnsafeUnpin for StandardIccProfile
impl UnwindSafe for StandardIccProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more