Enum openjpeg_sys::COLOR_SPACE
source · [−]#[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,
}
Expand description
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
sourceimpl Clone for COLOR_SPACE
impl Clone for COLOR_SPACE
sourcefn clone(&self) -> COLOR_SPACE
fn clone(&self) -> COLOR_SPACE
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for COLOR_SPACE
impl Debug for COLOR_SPACE
sourceimpl Hash for COLOR_SPACE
impl Hash for COLOR_SPACE
sourceimpl PartialEq<COLOR_SPACE> for COLOR_SPACE
impl PartialEq<COLOR_SPACE> for COLOR_SPACE
impl Copy for COLOR_SPACE
impl Eq for COLOR_SPACE
impl StructuralEq for COLOR_SPACE
impl StructuralPartialEq for COLOR_SPACE
Auto Trait Implementations
impl RefUnwindSafe for COLOR_SPACE
impl Send for COLOR_SPACE
impl Sync for COLOR_SPACE
impl Unpin for COLOR_SPACE
impl UnwindSafe for COLOR_SPACE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more