#[repr(C)]pub enum JxlColorSpace {
Rgb = 0,
Gray = 1,
Xyb = 2,
Unknown = 3,
}Expand description
Color space of the image data.
Variants§
Rgb = 0
Tristimulus RGB
Gray = 1
Luminance based, the primaries in JxlColorEncoding must be ignored.
This value implies that JxlBasicInfo::num_color_channels is 1, any
other value implies num_color_channels is 3.
Xyb = 2
XYB (opsin) color space
Unknown = 3
None of the other table entries describe the color space appropriately
Trait Implementations§
Source§impl Clone for JxlColorSpace
impl Clone for JxlColorSpace
Source§fn clone(&self) -> JxlColorSpace
fn clone(&self) -> JxlColorSpace
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 JxlColorSpace
impl Debug for JxlColorSpace
Source§impl Hash for JxlColorSpace
impl Hash for JxlColorSpace
Source§impl PartialEq for JxlColorSpace
impl PartialEq for JxlColorSpace
impl Copy for JxlColorSpace
impl Eq for JxlColorSpace
impl StructuralPartialEq for JxlColorSpace
Auto Trait Implementations§
impl Freeze for JxlColorSpace
impl RefUnwindSafe for JxlColorSpace
impl Send for JxlColorSpace
impl Sync for JxlColorSpace
impl Unpin for JxlColorSpace
impl UnwindSafe for JxlColorSpace
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