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

#[repr(u8)]pub enum WhitePoint {
    NONE,
    A,
    B,
    C,
    E,
    D50,
    D55,
    D60,
    D65,
    D75,
    F2,
    F7,
    F11,
    MAX_VALUE,
}

A WhitePoint defines the color “white” in an RGB color system. White points are derived from an “illuminant” which are defined as some reference lighting condition based on a Spectral Power Distribution.

Variants

NONE
A

Incandescent/tungsten

B

Old direct sunlight at noon

C

Old daylight

E

Equal energy

D50

ICC profile PCS

D55

Mid-morning daylight

D60
D65

Daylight, sRGB, Adobe-RGB

D75

North sky daylight

F2

Cool fluorescent

F7

Daylight fluorescent, D65 simulator

F11

Ultralume 40, Philips TL84

MAX_VALUE

Implementations

impl WhitePoint[src]

pub const fn values(&self) -> &'static [f64; 3][src]

Trait Implementations

impl Clone for WhitePoint[src]

impl Copy for WhitePoint[src]

impl Debug for WhitePoint[src]

impl Eq for WhitePoint[src]

impl Hash for WhitePoint[src]

impl PartialEq<WhitePoint> for WhitePoint[src]

impl StructuralEq for WhitePoint[src]

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