Struct jpegxl_sys::color_encoding::JxlColorEncoding
source · #[repr(C)]pub struct JxlColorEncoding {
pub color_space: JxlColorSpace,
pub white_point: JxlWhitePoint,
pub white_point_xy: [f64; 2],
pub primaries: JxlPrimaries,
pub primaries_red_xy: [f64; 2],
pub primaries_green_xy: [f64; 2],
pub primaries_blue_xy: [f64; 2],
pub transfer_function: JxlTransferFunction,
pub gamma: f64,
pub rendering_intent: JxlRenderingIntent,
}
Fields§
§color_space: JxlColorSpace
§white_point: JxlWhitePoint
§white_point_xy: [f64; 2]
§primaries: JxlPrimaries
§primaries_red_xy: [f64; 2]
§primaries_green_xy: [f64; 2]
§primaries_blue_xy: [f64; 2]
§transfer_function: JxlTransferFunction
§gamma: f64
§rendering_intent: JxlRenderingIntent
Trait Implementations§
source§impl Clone for JxlColorEncoding
impl Clone for JxlColorEncoding
source§fn clone(&self) -> JxlColorEncoding
fn clone(&self) -> JxlColorEncoding
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for JxlColorEncoding
impl RefUnwindSafe for JxlColorEncoding
impl Send for JxlColorEncoding
impl Sync for JxlColorEncoding
impl Unpin for JxlColorEncoding
impl UnwindSafe for JxlColorEncoding
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