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

#[repr(u8)]pub enum RGBPrimaries {
    NONE,
    BT_709,
    BT_2020,
    BT_2100,
    AP0,
    AP1,
    CIE_RGB,
    CIE_XYZ,
    MAX_VALUE,
}

RGBPrimaries is a set of primary colors picked to define an RGB color coordinate systme.

Variants

NONE
BT_709

BT.709 is the sRGB primaries.

BT_2020
BT_2100
AP0
AP1
CIE_RGB
CIE_XYZ

The “absolute” reference XYZ color space

MAX_VALUE

Implementations

impl RGBPrimaries[src]

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

Trait Implementations

impl Clone for RGBPrimaries[src]

impl Copy for RGBPrimaries[src]

impl Debug for RGBPrimaries[src]

impl Eq for RGBPrimaries[src]

impl Hash for RGBPrimaries[src]

impl PartialEq<RGBPrimaries> for RGBPrimaries[src]

impl StructuralEq for RGBPrimaries[src]

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