pub struct DecodeContext { /* private fields */ }Implementations§
Source§impl DecodeContext
impl DecodeContext
pub fn ctx(&self) -> &AVCodecContext
pub fn decode_video( &self, pkt: &Packet<'_>, frame: &mut VideoFrame, ) -> Result<bool, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodeContext
impl RefUnwindSafe for DecodeContext
impl !Send for DecodeContext
impl !Sync for DecodeContext
impl Unpin for DecodeContext
impl UnwindSafe for DecodeContext
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