pub struct AnimationFrame {
pub data: TryVec<u8>,
pub duration_ms: u32,
}👎Deprecated since 1.5.0:
Use AvifParser::frame() which returns FrameRef instead
Expand description
Frame information for animated AVIF
Fields§
§data: TryVec<u8>👎Deprecated since 1.5.0:
Use AvifParser::frame() which returns FrameRef instead
AV1 bitstream data for this frame
duration_ms: u32👎Deprecated since 1.5.0:
Use AvifParser::frame() which returns FrameRef instead
Duration in milliseconds (0 if unknown)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimationFrame
impl RefUnwindSafe for AnimationFrame
impl Send for AnimationFrame
impl Sync for AnimationFrame
impl Unpin for AnimationFrame
impl UnsafeUnpin for AnimationFrame
impl UnwindSafe for AnimationFrame
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