Struct lcms2_sys::ffi::ICCHeader[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.