pub enum ColorSpace {
SRgb,
Grayscale,
YCbCr,
Icc(Vec<u8>),
Other(u32),
}Expand description
Color space decoded from a JP2 colr box.
Variants§
SRgb
sRGB (enumerated color space 16).
Grayscale
Greyscale (enumerated color space 17).
YCbCr
YCbCr (enumerated color space 18).
Icc(Vec<u8>)
Embedded ICC profile (method 2 or 3).
Other(u32)
Other enumerated color space (raw value).
Trait Implementations§
Source§impl Clone for ColorSpace
impl Clone for ColorSpace
Source§fn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorSpace
impl Debug for ColorSpace
Source§impl PartialEq for ColorSpace
impl PartialEq for ColorSpace
impl StructuralPartialEq for ColorSpace
Auto Trait Implementations§
impl Freeze for ColorSpace
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnsafeUnpin for ColorSpace
impl UnwindSafe for ColorSpace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more