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

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

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

P3_DCI

P3-DCI white point, sort of greenish

F2

Cool fluorescent

F7

Daylight fluorescent, D65 simulator

F11

Ultralume 40, Philips TL84

Implementations

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

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.