#[repr(C)]pub struct JxlColorProfile {
pub icc: JxlColorProfile__bindgen_ty_1,
pub color_encoding: JxlColorEncoding,
pub num_channels: usize,
}Expand description
Represents an input or output colorspace to a color transform, as a serialized ICC profile.
Fields§
§icc: JxlColorProfile__bindgen_ty_1§color_encoding: JxlColorEncodingStructured representation of the colorspace, if applicable. If all fields are different from their “unknown” value, then this is equivalent to the ICC representation of the colorspace. If some are “unknown”, those that are not are still valid and can still be used on their own if they are useful.
num_channels: usizeNumber of components per pixel. This can be deduced from the other representations of the colorspace but is provided for convenience and validation.
Trait Implementations§
Source§impl Clone for JxlColorProfile
impl Clone for JxlColorProfile
Source§fn clone(&self) -> JxlColorProfile
fn clone(&self) -> JxlColorProfile
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 JxlColorProfile
impl Debug for JxlColorProfile
Source§impl Default for JxlColorProfile
impl Default for JxlColorProfile
impl Copy for JxlColorProfile
Auto Trait Implementations§
impl Freeze for JxlColorProfile
impl RefUnwindSafe for JxlColorProfile
impl !Send for JxlColorProfile
impl !Sync for JxlColorProfile
impl Unpin for JxlColorProfile
impl UnsafeUnpin for JxlColorProfile
impl UnwindSafe for JxlColorProfile
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