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

#[repr(C)]pub struct ICCHeader {
    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 Clone for ICCHeader[src]

impl Copy for ICCHeader[src]

impl Debug for ICCHeader[src]

impl Default for ICCHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.