[][src]Enum img2raw::ColorSpace

#[repr(u32)]
pub enum ColorSpace {
    NonColor,
    CIEXYZ,
    SRGB,
    LinearSRGB,
}

Available color spaces for the pixel data.

Variants

NonColor

The pixel data does not contain color information.

CIEXYZ

The CIE XYZ 1931 color space using the D65 illuminant.

SRGB

The sRGB color space as defined by IEC 61966-2-1:1999.

LinearSRGB

The sRGB color space but without gamma correction, i.e. linear.

Trait Implementations

impl From<ColorSpace> for ColorSpaceInfo[src]

impl Display for ColorSpace[src]

impl Debug for ColorSpace[src]

impl PartialEq<ColorSpace> for ColorSpace[src]

impl Eq for ColorSpace[src]

impl FromStr for ColorSpace[src]

type Err = UnknownVariant

The associated error which can be returned from parsing.

impl Hash for ColorSpace[src]

impl Copy for ColorSpace[src]

impl Clone for ColorSpace[src]

Auto Trait Implementations

impl Unpin for ColorSpace

impl Send for ColorSpace

impl Sync for ColorSpace

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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