[−][src]Struct ac_ffmpeg::format::demuxer::DemuxerWithCodecParameters
Demuxer with information about individual streams.
Implementations
impl<T> DemuxerWithCodecParameters<T>[src]
pub fn codec_parameters(&self) -> &[CodecParameters][src]
Get codec parameters.
pub fn deconstruct(self) -> (Demuxer<T>, Vec<CodecParameters>)[src]
Deconstruct this object into a plain demuxer and codec parameters.
Methods from Deref<Target = Demuxer<T>>
pub fn set_option<V>(&mut self, name: &str, value: V) -> Result<(), Error> where
V: ToString, [src]
V: ToString,
Set an option.
pub fn take(&mut self) -> Result<Option<Packet>, Error>[src]
Take the next packet from the demuxer or None on EOF. The pts and dts fields of the returned packet will be in microseconds.
pub fn io(&self) -> &IO<T>[src]
Get reference to the underlying IO.
pub fn io_mut(&mut self) -> &mut IO<T>[src]
Get mutable reference to the underlying IO.
Trait Implementations
impl<T> AsMut<Demuxer<T>> for DemuxerWithCodecParameters<T>[src]
impl<T> AsRef<Demuxer<T>> for DemuxerWithCodecParameters<T>[src]
impl<T> Borrow<Demuxer<T>> for DemuxerWithCodecParameters<T>[src]
impl<T> BorrowMut<Demuxer<T>> for DemuxerWithCodecParameters<T>[src]
fn borrow_mut(&mut self) -> &mut Demuxer<T>[src]
impl<T> Deref for DemuxerWithCodecParameters<T>[src]
type Target = Demuxer<T>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl<T> DerefMut for DemuxerWithCodecParameters<T>[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for DemuxerWithCodecParameters<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for DemuxerWithCodecParameters<T> where
T: Send,
T: Send,
impl<T> Sync for DemuxerWithCodecParameters<T> where
T: Sync,
T: Sync,
impl<T> Unpin for DemuxerWithCodecParameters<T>
impl<T> UnwindSafe for DemuxerWithCodecParameters<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,