Struct ffav::codec::decoder::subtitle::Subtitle[][src]

pub struct Subtitle(pub Opened);

Implementations

impl Subtitle[src]

pub fn decode<P: Ref>(
    &mut self,
    packet: &P,
    out: &mut Subtitle
) -> Result<bool, Error>
[src]

Methods from Deref<Target = Opened>

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 Subtitle[src]

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

Performs the conversion.

impl AsRef<Context> for Subtitle[src]

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

Performs the conversion.

impl Deref for Subtitle[src]

type Target = Opened

The resulting type after dereferencing.

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

Dereferences the value.

impl DerefMut for Subtitle[src]

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

Mutably dereferences the value.

Auto Trait Implementations

impl !RefUnwindSafe for Subtitle

impl Send for Subtitle

impl !Sync for Subtitle

impl Unpin for Subtitle

impl !UnwindSafe for Subtitle

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.