pub enum Frame {
Video(VideoFrame),
Audio(AudioFrame),
}Expand description
Either a video or audio frame. Decoders emit these; encoders consume them.
Variants§
Video(VideoFrame)
Audio(AudioFrame)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Frame
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Framewhere
RawVecInner: Send,
impl Sync for Framewhere
RawVecInner: Sync,
impl Unpin for Frame
impl UnsafeUnpin for Framewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec<u8>>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for Framewhere
RawVecInner: UnwindSafe,
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