#[non_exhaustive]pub struct AV1Metadata {
pub still_picture: bool,
pub max_frame_width: NonZeroU32,
pub max_frame_height: NonZeroU32,
pub bit_depth: u8,
pub seq_profile: u8,
pub chroma_subsampling: (bool, bool),
}
Expand description
See AvifData::primary_item_metadata()
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.still_picture: bool
Should be true for non-animated AVIF
max_frame_width: NonZeroU32
§max_frame_height: NonZeroU32
§bit_depth: u8
8, 10, or 12
seq_profile: u8
0, 1 or 2 for the level of complexity
chroma_subsampling: (bool, bool)
Horizontal and vertical. false
is full-res.
Trait Implementations§
source§impl Clone for AV1Metadata
impl Clone for AV1Metadata
source§fn clone(&self) -> AV1Metadata
fn clone(&self) -> AV1Metadata
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 AV1Metadata
impl RefUnwindSafe for AV1Metadata
impl Send for AV1Metadata
impl Sync for AV1Metadata
impl Unpin for AV1Metadata
impl UnwindSafe for AV1Metadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)