[−][src]Struct jpegxl_sys::JpegxlColorEncoding
Color encoding of the image as structured information.
Fields
color_space: JpegxlColorSpace
Color space of the image data.
white_point: JpegxlWhitePoint
Built-in white point. If this value is JPEGXL_WHITE_POINT_CUSTOM, must use the numerical whitepoint values from white_point_xy.
white_point_xy: [f64; 2]
Numerical whitepoint values in CIE xy space.
primaries: JpegxlPrimaries
Built-in RGB primaries. If this value is JPEGXL_PRIMARIES_CUSTOM, must use the numerical primaries values below. This field must be ignored if the color space is grayscale.
primaries_red_xy: [f64; 2]
Numerical red primary values in CIE xy space.
primaries_green_xy: [f64; 2]
Numerical green primary values in CIE xy space.
primaries_blue_xy: [f64; 2]
Numerical blue primary values in CIE xy space.
transfer_function: JpegxlTransferFunction
Transfer function is have_gamma is 0
gamma: f64
Gamma value used when transfer_function is JPEGXL_TRANSFER_FUNCTION_GAMMA
rendering_intent: JpegxlRenderingIntent
Rendering intent defined for the color profile.
Trait Implementations
impl Clone for JpegxlColorEncoding
[src]
fn clone(&self) -> JpegxlColorEncoding
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for JpegxlColorEncoding
[src]
impl Debug for JpegxlColorEncoding
[src]
impl NewUninit for JpegxlColorEncoding
[src]
fn new_uninit() -> MaybeUninit<Self> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for JpegxlColorEncoding
impl Send for JpegxlColorEncoding
impl Sync for JpegxlColorEncoding
impl Unpin for JpegxlColorEncoding
impl UnwindSafe for JpegxlColorEncoding
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,