pub enum JxlPrimaries {
SRGB,
BT2100,
P3,
Chromaticities {
rx: f32,
ry: f32,
gx: f32,
gy: f32,
bx: f32,
by: f32,
},
}Variants§
Implementations§
Source§impl JxlPrimaries
impl JxlPrimaries
pub fn to_xy_coords(&self) -> [(f32, f32); 3]
Trait Implementations§
Source§impl Clone for JxlPrimaries
impl Clone for JxlPrimaries
Source§fn clone(&self) -> JxlPrimaries
fn clone(&self) -> JxlPrimaries
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 JxlPrimaries
impl Debug for JxlPrimaries
Source§impl Display for JxlPrimaries
impl Display for JxlPrimaries
Source§impl PartialEq for JxlPrimaries
impl PartialEq for JxlPrimaries
impl StructuralPartialEq for JxlPrimaries
Auto Trait Implementations§
impl Freeze for JxlPrimaries
impl RefUnwindSafe for JxlPrimaries
impl Send for JxlPrimaries
impl Sync for JxlPrimaries
impl Unpin for JxlPrimaries
impl UnsafeUnpin for JxlPrimaries
impl UnwindSafe for JxlPrimaries
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