[][src]Struct ac_ffmpeg::format::demuxer::DemuxerWithCodecParameters

pub struct DemuxerWithCodecParameters<T> { /* fields omitted */ }

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]

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]

impl<T> Deref for DemuxerWithCodecParameters<T>[src]

type Target = Demuxer<T>

The resulting type after dereferencing.

impl<T> DerefMut for DemuxerWithCodecParameters<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for DemuxerWithCodecParameters<T> where
    T: RefUnwindSafe

impl<T> Send for DemuxerWithCodecParameters<T> where
    T: Send

impl<T> Sync for DemuxerWithCodecParameters<T> where
    T: Sync

impl<T> Unpin for DemuxerWithCodecParameters<T>

impl<T> UnwindSafe for DemuxerWithCodecParameters<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.