pub struct Frame {
pub timestamp: u64,
pub packet: Vec<u8>,
}
Expand description
Frame inside an IVF.
A frame can contain a VP9 bitstream packet which contains either a frame or a super frame.
Fields§
§timestamp: u64
The timestamp of the frame.
packet: Vec<u8>
The data packet of the frame.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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