#[non_exhaustive]pub struct FrameInfo {
pub keyframe: bool,
pub version: u8,
pub show_frame: bool,
pub first_partition_size: u32,
pub dimensions: Option<Dimensions>,
}Expand description
What a frame’s uncompressed header says.
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.keyframe: boolA keyframe (intra only; decodable on its own).
version: u8The bitstream version (0 to 3): 0 uses the six-tap filter, 1 and 2 bilinear, 3 full-pixel chroma motion.
show_frame: boolFalse for a frame that only updates references (an alt-ref frame).
first_partition_size: u32Size of the first partition in bytes.
dimensions: Option<Dimensions>Keyframes only.
Trait Implementations§
impl Copy for FrameInfo
impl Eq for FrameInfo
impl StructuralPartialEq for FrameInfo
Auto Trait Implementations§
impl Forget for FrameInfo
impl Freeze for FrameInfo
impl Move for FrameInfo
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfo
impl Sync for FrameInfo
impl Unpin for FrameInfo
impl UnsafeUnpin for FrameInfo
impl UnwindSafe for FrameInfo
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