[][src]Struct ffav::format::context::output::Output

pub struct Output { /* fields omitted */ }

Implementations

impl Output[src]

pub unsafe fn wrap(ptr: *mut AVFormatContext) -> Self[src]

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

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

impl Output[src]

pub fn format(&self) -> Output[src]

pub fn write_header(&mut self) -> Result<(), Error>[src]

pub fn write_header_with(
    &mut self,
    options: Dictionary<'_>
) -> Result<Dictionary<'_>, Error>
[src]

pub fn write_trailer(&mut self) -> Result<(), Error>[src]

pub fn add_stream<E: Encoder>(
    &mut self,
    codec: E
) -> Result<StreamMut<'_>, Error>
[src]

pub fn add_chapter<R: Into<Rational>, S: AsRef<str>>(
    &mut self,
    id: i32,
    time_base: R,
    start: i64,
    end: i64,
    title: S
) -> Result<ChapterMut<'_>, Error>
[src]

pub fn set_metadata(&mut self, dictionary: Dictionary<'_>)[src]

Trait Implementations

impl Deref for Output[src]

type Target = Context

The resulting type after dereferencing.

impl DerefMut for Output[src]

impl Send for Output[src]

Auto Trait Implementations

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.