#[non_exhaustive]pub struct FrameMeta {
pub frame_width: u32,
pub frame_height: u32,
pub display_width: u32,
pub display_height: u32,
}Expand description
Result of Decoder::frame_meta()
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.frame_width: u32The width the current frame is decoded at (note this may be different to the display width of the current frame)
frame_height: u32The height the current frame is decoded at (note this may be different to the display height of the current frame)
display_width: u32The intended display width of the current frame (note this may be different to the width the frame is decoded at)
display_height: u32The intended display height of the current frame (note this may be different to the height the frame is decoded at).
Trait Implementations§
impl StructuralPartialEq for FrameMeta
Auto Trait Implementations§
impl Freeze for FrameMeta
impl RefUnwindSafe for FrameMeta
impl Send for FrameMeta
impl Sync for FrameMeta
impl Unpin for FrameMeta
impl UnwindSafe for FrameMeta
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