pub struct Input { /* private fields */ }
Implementations§
Source§impl Input
impl Input
pub unsafe fn wrap(ptr: *mut AVFormatContext) -> Self
pub unsafe fn as_ptr(&self) -> *const AVFormatContext
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFormatContext
Source§impl Input
impl Input
pub fn format(&self) -> Input
pub fn probe_score(&self) -> i32
pub fn packets(&mut self) -> PacketIter<'_> ⓘ
pub fn pause(&mut self) -> Result<(), Error>
pub fn play(&mut self) -> Result<(), Error>
pub fn seek<R: RangeBounds<i64>>( &mut self, ts: i64, range: R, ) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl !Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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