Struct libjxl_sys::JxlColorProfile
source · [−]#[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: JxlColorEncoding
Structured 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: usize
Number of components per pixel. This can be deduced from the other representations of the colorspace but is provided for convenience and validation.
Trait Implementations
sourceimpl Clone for JxlColorProfile
impl Clone for JxlColorProfile
sourcefn clone(&self) -> JxlColorProfile
fn clone(&self) -> JxlColorProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JxlColorProfile
impl Debug for JxlColorProfile
sourceimpl Default for JxlColorProfile
impl Default for JxlColorProfile
impl Copy for JxlColorProfile
Auto Trait Implementations
impl RefUnwindSafe for JxlColorProfile
impl !Send for JxlColorProfile
impl !Sync for JxlColorProfile
impl Unpin for JxlColorProfile
impl UnwindSafe for JxlColorProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more