pub struct Output { /* private fields */ }
Implementations
sourceimpl Output
impl Output
pub unsafe fn wrap(ptr: *mut AVFormatContext) -> Self
pub unsafe fn as_ptr(&self) -> *const AVFormatContext
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFormatContext
sourceimpl Output
impl Output
pub fn format(&self) -> Output
pub fn write_header(&mut self) -> Result<(), Error>
pub fn write_header_with(
&mut self,
options: Dictionary<'_>
) -> Result<Dictionary<'_>, Error>
pub fn write_trailer(&mut self) -> Result<(), Error>
pub fn add_stream<E: Encoder>(
&mut self,
codec: E
) -> Result<StreamMut<'_>, Error>
pub fn add_chapter<R: Into<Rational>, S: AsRef<str>>(
&mut self,
id: i64,
time_base: R,
start: i64,
end: i64,
title: S
) -> Result<ChapterMut<'_>, Error>
pub fn set_metadata(&mut self, dictionary: Dictionary<'_>)
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more