pub struct Input<T: Send + Sync> { /* private fields */ }
Implementations§
Source§impl<T: Read + Send + Sync> Input<T>
impl<T: Read + Send + Sync> Input<T>
pub fn new(input: T) -> Result<Self, FfmpegError>
pub fn with_options( input: T, options: &mut InputOptions<impl FnMut() -> bool>, ) -> Result<Self, FfmpegError>
pub fn seekable(input: T) -> Result<Self, FfmpegError>where
T: Seek,
pub fn seekable_with_options(
input: T,
options: InputOptions<impl FnMut() -> bool>,
) -> Result<Self, FfmpegError>where
T: Seek,
Source§impl<T: Send + Sync> Input<T>
impl<T: Send + Sync> Input<T>
pub fn as_ptr(&self) -> *const AVFormatContext
pub fn as_mut_ptr(&mut self) -> *mut AVFormatContext
pub fn streams(&self) -> Const<'_, Streams<'_>>
pub fn packets(&mut self) -> Packets<'_> ⓘ
pub fn receive_packet(&mut self) -> Result<Option<Packet>, FfmpegError>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Input<T>
impl<T> RefUnwindSafe for Input<T>where
T: RefUnwindSafe,
impl<T> !Sync for Input<T>
impl<T> Unpin for Input<T>
impl<T> UnwindSafe for Input<T>where
T: 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