[][src]Enum openjpeg_sys::COLOR_SPACE

#[repr(i32)]
pub enum COLOR_SPACE { OPJ_CLRSPC_UNKNOWN, OPJ_CLRSPC_UNSPECIFIED, OPJ_CLRSPC_SRGB, OPJ_CLRSPC_GRAY, OPJ_CLRSPC_SYCC, OPJ_CLRSPC_EYCC, OPJ_CLRSPC_CMYK, }

Supported image color spaces

Variants

OPJ_CLRSPC_UNKNOWN

< not supported by the library

OPJ_CLRSPC_UNSPECIFIED

< not specified in the codestream

OPJ_CLRSPC_SRGB

< sRGB

OPJ_CLRSPC_GRAY

< grayscale

OPJ_CLRSPC_SYCC

< YUV

OPJ_CLRSPC_EYCC

< e-YCC

OPJ_CLRSPC_CMYK

< CMYK

Trait Implementations

impl Clone for COLOR_SPACE[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for COLOR_SPACE[src]

impl Copy for COLOR_SPACE[src]

impl PartialEq<COLOR_SPACE> for COLOR_SPACE[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for COLOR_SPACE[src]

impl Hash for COLOR_SPACE[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

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

Auto Trait Implementations

impl Send for COLOR_SPACE

impl Sync for COLOR_SPACE

Blanket Implementations

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.

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

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

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