pub struct SubtitleStreamInfoBuilder { /* private fields */ }Expand description
Builder for constructing SubtitleStreamInfo.
Implementations§
Source§impl SubtitleStreamInfoBuilder
impl SubtitleStreamInfoBuilder
Sourcepub fn codec(self, codec: SubtitleCodec) -> Self
pub fn codec(self, codec: SubtitleCodec) -> Self
Sets the subtitle codec.
Sourcepub fn codec_name(self, name: impl Into<String>) -> Self
pub fn codec_name(self, name: impl Into<String>) -> Self
Sets the codec name string.
Sourcepub fn build(self) -> SubtitleStreamInfo
pub fn build(self) -> SubtitleStreamInfo
Builds the SubtitleStreamInfo.
Trait Implementations§
Source§impl Clone for SubtitleStreamInfoBuilder
impl Clone for SubtitleStreamInfoBuilder
Source§fn clone(&self) -> SubtitleStreamInfoBuilder
fn clone(&self) -> SubtitleStreamInfoBuilder
Returns a duplicate 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 Debug for SubtitleStreamInfoBuilder
impl Debug for SubtitleStreamInfoBuilder
Auto Trait Implementations§
impl Freeze for SubtitleStreamInfoBuilder
impl RefUnwindSafe for SubtitleStreamInfoBuilder
impl Send for SubtitleStreamInfoBuilder
impl Sync for SubtitleStreamInfoBuilder
impl Unpin for SubtitleStreamInfoBuilder
impl UnsafeUnpin for SubtitleStreamInfoBuilder
impl UnwindSafe for SubtitleStreamInfoBuilder
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