#[non_exhaustive]pub struct DashUtcTimingBuilder { /* private fields */ }Expand description
A builder for DashUtcTiming.
Implementations§
source§impl DashUtcTimingBuilder
impl DashUtcTimingBuilder
sourcepub fn timing_mode(self, input: DashUtcTimingMode) -> Self
pub fn timing_mode(self, input: DashUtcTimingMode) -> Self
The UTC timing mode.
sourcepub fn set_timing_mode(self, input: Option<DashUtcTimingMode>) -> Self
pub fn set_timing_mode(self, input: Option<DashUtcTimingMode>) -> Self
The UTC timing mode.
sourcepub fn get_timing_mode(&self) -> &Option<DashUtcTimingMode>
pub fn get_timing_mode(&self) -> &Option<DashUtcTimingMode>
The UTC timing mode.
sourcepub fn timing_source(self, input: impl Into<String>) -> Self
pub fn timing_source(self, input: impl Into<String>) -> Self
The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.
sourcepub fn set_timing_source(self, input: Option<String>) -> Self
pub fn set_timing_source(self, input: Option<String>) -> Self
The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.
sourcepub fn get_timing_source(&self) -> &Option<String>
pub fn get_timing_source(&self) -> &Option<String>
The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.
sourcepub fn build(self) -> DashUtcTiming
pub fn build(self) -> DashUtcTiming
Consumes the builder and constructs a DashUtcTiming.
Trait Implementations§
source§impl Clone for DashUtcTimingBuilder
impl Clone for DashUtcTimingBuilder
source§fn clone(&self) -> DashUtcTimingBuilder
fn clone(&self) -> DashUtcTimingBuilder
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 Debug for DashUtcTimingBuilder
impl Debug for DashUtcTimingBuilder
source§impl Default for DashUtcTimingBuilder
impl Default for DashUtcTimingBuilder
source§fn default() -> DashUtcTimingBuilder
fn default() -> DashUtcTimingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DashUtcTimingBuilder
impl PartialEq for DashUtcTimingBuilder
source§fn eq(&self, other: &DashUtcTimingBuilder) -> bool
fn eq(&self, other: &DashUtcTimingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DashUtcTimingBuilder
Auto Trait Implementations§
impl Freeze for DashUtcTimingBuilder
impl RefUnwindSafe for DashUtcTimingBuilder
impl Send for DashUtcTimingBuilder
impl Sync for DashUtcTimingBuilder
impl Unpin for DashUtcTimingBuilder
impl UnwindSafe for DashUtcTimingBuilder
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.