[][src]Enum lcms2::Tag

pub enum Tag<'a> {
    CIExyYTRIPLE(&'a CIExyYTRIPLE),
    CIEXYZ(&'a CIEXYZ),
    ICCData(&'a ICCData),
    ICCMeasurementConditions(&'a ICCMeasurementConditions),
    ICCViewingConditions(&'a ICCViewingConditions),
    MLU(&'a MLURef),
    NAMEDCOLORLIST(&'a NamedColorListRef),
    Pipeline(&'a PipelineRef),
    Screening(&'a Screening),
    SEQ(&'a SEQ),
    Intent(Intent),
    ColorimetricIntentImageState(ColorimetricIntentImageState),
    Technology(TechnologySignature),
    ToneCurve(&'a ToneCurveRef),
    UcrBg(&'a UcrBg),
    None,
}

Value of a tag in an ICC profile

Variants

CIExyYTRIPLE(&'a CIExyYTRIPLE)CIEXYZ(&'a CIEXYZ)ICCData(&'a ICCData)ICCMeasurementConditions(&'a ICCMeasurementConditions)ICCViewingConditions(&'a ICCViewingConditions)MLU(&'a MLURef)

Unicode string

NAMEDCOLORLIST(&'a NamedColorListRef)

A palette

Pipeline(&'a PipelineRef)Screening(&'a Screening)SEQ(&'a SEQ)Intent(Intent)ColorimetricIntentImageState(ColorimetricIntentImageState)Technology(TechnologySignature)ToneCurve(&'a ToneCurveRef)UcrBg(&'a UcrBg)None

Unknown format or missing data

Methods

impl<'a> Tag<'a>[src]

pub fn is_none(&self) -> bool[src]

pub unsafe fn data_for_signature(&self, sig: TagSignature) -> *const u8[src]

pub unsafe fn new(sig: TagSignature, data: *const u8) -> Self[src]

Trait Implementations

impl<'a> Debug for Tag<'a>[src]

Auto Trait Implementations

impl<'a> !Send for Tag<'a>

impl<'a> Unpin for Tag<'a>

impl<'a> !Sync for Tag<'a>

impl<'a> !UnwindSafe for Tag<'a>

impl<'a> !RefUnwindSafe for Tag<'a>

Blanket Implementations

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

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

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.

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

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

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