#[repr(C)]pub struct ICCHeader {Show 18 fields
pub size: u32,
pub cmmId: Signature,
pub version: u32,
pub deviceClass: ProfileClassSignature,
pub colorSpace: ColorSpaceSignature,
pub pcs: ColorSpaceSignature,
pub date: DateTimeNumber,
pub magic: Signature,
pub platform: PlatformSignature,
pub flags: u32,
pub manufacturer: Signature,
pub model: u32,
pub attributes: u64,
pub renderingIntent: Intent,
pub illuminant: EncodedXYZNumber,
pub creator: Signature,
pub profileID: ProfileID,
pub reserved: [i8; 28],
}
Fields§
§size: u32
Profile size in bytes
cmmId: Signature
CMM for this profile
version: u32
Format version number
deviceClass: ProfileClassSignature
Type of profile
colorSpace: ColorSpaceSignature
Color space of data
pcs: ColorSpaceSignature
PCS, XYZ or Lab only
date: DateTimeNumber
Date profile was created
magic: Signature
Magic Number to identify an ICC profile
platform: PlatformSignature
Primary Platform
flags: u32
Various bit settings
manufacturer: Signature
Device manufacturer
model: u32
Device model number
attributes: u64
Device attributes
renderingIntent: Intent
Rendering intent
illuminant: EncodedXYZNumber
Profile illuminant
creator: Signature
Profile creator
profileID: ProfileID
Profile ID using MD5
reserved: [i8; 28]
Reserved for future use
Trait Implementations§
impl Copy for ICCHeader
Auto Trait Implementations§
impl RefUnwindSafe for ICCHeader
impl Send for ICCHeader
impl Sync for ICCHeader
impl Unpin for ICCHeader
impl UnwindSafe for ICCHeader
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