#[repr(C)]pub enum JxlWhitePoint {
D65 = 1,
Custom = 2,
E = 10,
Dci = 11,
}Expand description
Built-in white points for color encoding. When decoding, the numerical xy
white point value can be read from the JxlColorEncoding::white_point
field regardless of the enum value. When encoding, enum values except
JxlWhitePoint::Custom override the numerical fields. Some enum values
match a subset of CICP (Rec. ITU-T H.273 | ISO/IEC 23091-2:2019(E)), however
the white point and RGB primaries are separate enums here.
Variants§
D65 = 1
CIE Standard Illuminant D65: 0.3127, 0.3290
Custom = 2
White point must be read from the JxlColorEncoding::white_point field,
or as ICC profile. This enum value is not an exact match of the
corresponding CICP value.
E = 10
CIE Standard Illuminant E (equal-energy): 1/3, 1/3
Dci = 11
DCI-P3 from SMPTE RP 431-2: 0.314, 0.351
Trait Implementations§
Source§impl Clone for JxlWhitePoint
impl Clone for JxlWhitePoint
Source§fn clone(&self) -> JxlWhitePoint
fn clone(&self) -> JxlWhitePoint
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 JxlWhitePoint
impl Debug for JxlWhitePoint
Source§impl Hash for JxlWhitePoint
impl Hash for JxlWhitePoint
Source§impl PartialEq for JxlWhitePoint
impl PartialEq for JxlWhitePoint
impl Copy for JxlWhitePoint
impl Eq for JxlWhitePoint
impl StructuralPartialEq for JxlWhitePoint
Auto Trait Implementations§
impl Freeze for JxlWhitePoint
impl RefUnwindSafe for JxlWhitePoint
impl Send for JxlWhitePoint
impl Sync for JxlWhitePoint
impl Unpin for JxlWhitePoint
impl UnwindSafe for JxlWhitePoint
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