#[non_exhaustive]pub struct TtmlDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for TtmlDestinationSettings
.
Implementations§
source§impl TtmlDestinationSettingsBuilder
impl TtmlDestinationSettingsBuilder
sourcepub fn style_passthrough(self, input: TtmlStylePassthrough) -> Self
pub fn style_passthrough(self, input: TtmlStylePassthrough) -> Self
Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
sourcepub fn set_style_passthrough(self, input: Option<TtmlStylePassthrough>) -> Self
pub fn set_style_passthrough(self, input: Option<TtmlStylePassthrough>) -> Self
Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
sourcepub fn get_style_passthrough(&self) -> &Option<TtmlStylePassthrough>
pub fn get_style_passthrough(&self) -> &Option<TtmlStylePassthrough>
Pass through style and position information from a TTML-like input source (TTML, IMSC, SMPTE-TT) to the TTML output.
sourcepub fn build(self) -> TtmlDestinationSettings
pub fn build(self) -> TtmlDestinationSettings
Consumes the builder and constructs a TtmlDestinationSettings
.
Trait Implementations§
source§impl Clone for TtmlDestinationSettingsBuilder
impl Clone for TtmlDestinationSettingsBuilder
source§fn clone(&self) -> TtmlDestinationSettingsBuilder
fn clone(&self) -> TtmlDestinationSettingsBuilder
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 Default for TtmlDestinationSettingsBuilder
impl Default for TtmlDestinationSettingsBuilder
source§fn default() -> TtmlDestinationSettingsBuilder
fn default() -> TtmlDestinationSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TtmlDestinationSettingsBuilder
impl PartialEq for TtmlDestinationSettingsBuilder
source§fn eq(&self, other: &TtmlDestinationSettingsBuilder) -> bool
fn eq(&self, other: &TtmlDestinationSettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TtmlDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for TtmlDestinationSettingsBuilder
impl RefUnwindSafe for TtmlDestinationSettingsBuilder
impl Send for TtmlDestinationSettingsBuilder
impl Sync for TtmlDestinationSettingsBuilder
impl Unpin for TtmlDestinationSettingsBuilder
impl UnwindSafe for TtmlDestinationSettingsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.