pub struct ContainerInfoBuilder { /* private fields */ }Expand description
Builder for ContainerInfo.
Implementations§
Source§impl ContainerInfoBuilder
impl ContainerInfoBuilder
Sourcepub fn format_name(self, name: impl Into<String>) -> Self
pub fn format_name(self, name: impl Into<String>) -> Self
Sets the short format name (e.g. "mp3", "mov,mp4,m4a,3gp,3g2,mj2").
Sourcepub fn nb_streams(self, n: u32) -> Self
pub fn nb_streams(self, n: u32) -> Self
Sets the total number of streams.
Sourcepub fn build(self) -> ContainerInfo
pub fn build(self) -> ContainerInfo
Builds the ContainerInfo.
Trait Implementations§
Source§impl Debug for ContainerInfoBuilder
impl Debug for ContainerInfoBuilder
Source§impl Default for ContainerInfoBuilder
impl Default for ContainerInfoBuilder
Source§fn default() -> ContainerInfoBuilder
fn default() -> ContainerInfoBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerInfoBuilder
impl RefUnwindSafe for ContainerInfoBuilder
impl Send for ContainerInfoBuilder
impl Sync for ContainerInfoBuilder
impl Unpin for ContainerInfoBuilder
impl UnsafeUnpin for ContainerInfoBuilder
impl UnwindSafe for ContainerInfoBuilder
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