#[non_exhaustive]pub struct JxlBasicInfo {
pub size: (usize, usize),
pub bit_depth: JxlBitDepth,
pub orientation: Orientation,
pub extra_channels: Vec<JxlExtraChannel>,
pub animation: Option<JxlAnimation>,
pub uses_original_profile: bool,
pub tone_mapping: ToneMapping,
pub preview_size: Option<(usize, usize)>,
pub intrinsic_size: Option<(usize, usize)>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.size: (usize, usize)§bit_depth: JxlBitDepth§orientation: Orientation§extra_channels: Vec<JxlExtraChannel>§animation: Option<JxlAnimation>§uses_original_profile: bool§tone_mapping: ToneMapping§preview_size: Option<(usize, usize)>§intrinsic_size: Option<(usize, usize)>Intrinsic display size, if different from coded size.
When present, the image should be rendered at this (width, height)
rather than the coded size. Used for resolution-independence
(e.g. a 4000×3000 image meant to display at 2000×1500).
Trait Implementations§
Source§impl Clone for JxlBasicInfo
impl Clone for JxlBasicInfo
Source§fn clone(&self) -> JxlBasicInfo
fn clone(&self) -> JxlBasicInfo
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 moreAuto Trait Implementations§
impl Freeze for JxlBasicInfo
impl RefUnwindSafe for JxlBasicInfo
impl Send for JxlBasicInfo
impl Sync for JxlBasicInfo
impl Unpin for JxlBasicInfo
impl UnsafeUnpin for JxlBasicInfo
impl UnwindSafe for JxlBasicInfo
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