Enum kolor_64::details::color::TransformFn[][src]

#[repr(u8)]pub enum TransformFn {
    NONE,
    sRGB_Gamma,
    Oklab,
    CIE_xyY,
    CIELAB,
    CIELCh,
    CIE_1960_UCS,
    CIE_1960_UCS_uvV,
    CIE_1964_UVW,
    MAX_VALUE,
}

A TransformFn identifies an invertible mapping of color coordinates in a linear ColorSpace.

Variants

NONE
sRGB_Gamma

The SRGB “gamma compensation” function

Oklab

Oklab conversion from xyz

CIE_xyY

ACEScc is a logarithmic transform ACEScct is a logarithmic transform with toe CIE xyY transform

CIELAB

CIELAB transform

CIELCh

CIELCh transform

CIE_1960_UCS

CIE 1960 UCS transform

CIE_1960_UCS_uvV

CIE 1960 UCS transform in uvV coordinate form

CIE_1964_UVW

CIE 1964 UVW transform

MAX_VALUE

Trait Implementations

impl Clone for TransformFn[src]

impl Copy for TransformFn[src]

impl Debug for TransformFn[src]

impl Eq for TransformFn[src]

impl Hash for TransformFn[src]

impl PartialEq<TransformFn> for TransformFn[src]

impl StructuralEq for TransformFn[src]

impl StructuralPartialEq for TransformFn[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.