#[non_exhaustive]#[repr(u32)]pub enum JxlColorProfileTarget {
JXL_COLOR_PROFILE_TARGET_ORIGINAL = 0,
JXL_COLOR_PROFILE_TARGET_DATA = 1,
}Expand description
Defines which color profile to get: the profile from the codestream metadata header, which represents the color profile of the original image, or the color profile from the pixel data produced by the decoder. Both are the same if the JxlBasicInfo has uses_original_profile set.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
JXL_COLOR_PROFILE_TARGET_ORIGINAL = 0
Get the color profile of the original image from the metadata.
JXL_COLOR_PROFILE_TARGET_DATA = 1
Get the color profile of the pixel data the decoder outputs.
Trait Implementations§
Source§impl Clone for JxlColorProfileTarget
impl Clone for JxlColorProfileTarget
Source§fn clone(&self) -> JxlColorProfileTarget
fn clone(&self) -> JxlColorProfileTarget
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 JxlColorProfileTarget
impl Debug for JxlColorProfileTarget
Source§impl Hash for JxlColorProfileTarget
impl Hash for JxlColorProfileTarget
Source§impl PartialEq for JxlColorProfileTarget
impl PartialEq for JxlColorProfileTarget
impl Copy for JxlColorProfileTarget
impl Eq for JxlColorProfileTarget
impl StructuralPartialEq for JxlColorProfileTarget
Auto Trait Implementations§
impl Freeze for JxlColorProfileTarget
impl RefUnwindSafe for JxlColorProfileTarget
impl Send for JxlColorProfileTarget
impl Sync for JxlColorProfileTarget
impl Unpin for JxlColorProfileTarget
impl UnsafeUnpin for JxlColorProfileTarget
impl UnwindSafe for JxlColorProfileTarget
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