Struct ffav::codec::decoder::opened::Opened[][src]

pub struct Opened(pub Decoder);

Implementations

impl Opened[src]

pub fn video(self) -> Result<Video, Error>[src]

pub fn audio(self) -> Result<Audio, Error>[src]

pub fn subtitle(self) -> Result<Subtitle, Error>[src]

pub fn bit_rate(&self) -> usize[src]

pub fn delay(&self) -> usize[src]

pub fn profile(&self) -> Profile[src]

pub fn frame_rate(&self) -> Option<Rational>[src]

pub fn flush(&mut self)[src]

Methods from Deref<Target = Decoder>

pub fn conceal(&mut self, value: Conceal)[src]

pub fn check(&mut self, value: Check)[src]

pub fn skip_loop_filter(&mut self, value: Discard)[src]

pub fn skip_idct(&mut self, value: Discard)[src]

pub fn skip_frame(&mut self, value: Discard)[src]

pub fn time_base(&self) -> Rational[src]

Methods from Deref<Target = Context>

pub unsafe fn as_ptr(&self) -> *const AVCodecContext[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodecContext[src]

pub fn codec(&self) -> Option<Codec>[src]

pub fn medium(&self) -> Type[src]

pub fn set_flags(&mut self, value: Flags)[src]

pub fn id(&self) -> Id[src]

pub fn compliance(&mut self, value: Compliance)[src]

pub fn debug(&mut self, value: Debug)[src]

pub fn set_threading(&mut self, config: Config)[src]

pub fn threading(&self) -> Config[src]

pub fn set_parameters<P: Into<Parameters>>(
    &mut self,
    parameters: P
) -> Result<(), Error>
[src]

Trait Implementations

impl AsMut<Context> for Opened[src]

fn as_mut(&mut self) -> &mut Context[src]

Performs the conversion.

impl AsRef<Context> for Opened[src]

fn as_ref(&self) -> &Context[src]

Performs the conversion.

impl Deref for Opened[src]

type Target = Decoder

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl DerefMut for Opened[src]

fn deref_mut(&mut self) -> &mut Self::Target[src]

Mutably dereferences the value.

impl Drop for Opened[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !RefUnwindSafe for Opened

impl Send for Opened

impl !Sync for Opened

impl Unpin for Opened

impl !UnwindSafe for Opened

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.