pub struct OutputOptions<'a> {
pub buffer_size: usize,
pub format_name: Option<&'a str>,
pub format_mime_type: Option<&'a str>,
pub format_ffi: *const AVOutputFormat,
}
Fields§
§buffer_size: usize
§format_name: Option<&'a str>
§format_mime_type: Option<&'a str>
§format_ffi: *const AVOutputFormat
Implementations§
Source§impl<'a> OutputOptions<'a>
impl<'a> OutputOptions<'a>
pub fn new() -> Self
pub fn buffer_size(self, buffer_size: usize) -> Self
pub fn format_name(self, format_name: &'a str) -> Self
pub fn format_mime_type(self, format_mime_type: &'a str) -> Self
pub fn format_ffi(self, format_ffi: *const AVOutputFormat) -> Self
Trait Implementations§
Source§impl<'a> Clone for OutputOptions<'a>
impl<'a> Clone for OutputOptions<'a>
Source§fn clone(&self) -> OutputOptions<'a>
fn clone(&self) -> OutputOptions<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for OutputOptions<'a>
impl<'a> Debug for OutputOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for OutputOptions<'a>
impl<'a> RefUnwindSafe for OutputOptions<'a>
impl<'a> !Send for OutputOptions<'a>
impl<'a> !Sync for OutputOptions<'a>
impl<'a> Unpin for OutputOptions<'a>
impl<'a> UnwindSafe for OutputOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more