#[non_exhaustive]pub struct CaptionSourceFramerateBuilder { /* private fields */ }
Expand description
A builder for CaptionSourceFramerate
.
Implementations§
source§impl CaptionSourceFramerateBuilder
impl CaptionSourceFramerateBuilder
sourcepub fn framerate_denominator(self, input: i32) -> Self
pub fn framerate_denominator(self, input: i32) -> Self
Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate numerator.
sourcepub fn set_framerate_denominator(self, input: Option<i32>) -> Self
pub fn set_framerate_denominator(self, input: Option<i32>) -> Self
Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate numerator.
sourcepub fn get_framerate_denominator(&self) -> &Option<i32>
pub fn get_framerate_denominator(&self) -> &Option<i32>
Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate numerator.
sourcepub fn framerate_numerator(self, input: i32) -> Self
pub fn framerate_numerator(self, input: i32) -> Self
Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate denominator.
sourcepub fn set_framerate_numerator(self, input: Option<i32>) -> Self
pub fn set_framerate_numerator(self, input: Option<i32>) -> Self
Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate denominator.
sourcepub fn get_framerate_numerator(&self) -> &Option<i32>
pub fn get_framerate_numerator(&self) -> &Option<i32>
Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate. Use this setting along with the setting Framerate denominator.
sourcepub fn build(self) -> CaptionSourceFramerate
pub fn build(self) -> CaptionSourceFramerate
Consumes the builder and constructs a CaptionSourceFramerate
.
Trait Implementations§
source§impl Clone for CaptionSourceFramerateBuilder
impl Clone for CaptionSourceFramerateBuilder
source§fn clone(&self) -> CaptionSourceFramerateBuilder
fn clone(&self) -> CaptionSourceFramerateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CaptionSourceFramerateBuilder
impl Default for CaptionSourceFramerateBuilder
source§fn default() -> CaptionSourceFramerateBuilder
fn default() -> CaptionSourceFramerateBuilder
source§impl PartialEq for CaptionSourceFramerateBuilder
impl PartialEq for CaptionSourceFramerateBuilder
source§fn eq(&self, other: &CaptionSourceFramerateBuilder) -> bool
fn eq(&self, other: &CaptionSourceFramerateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionSourceFramerateBuilder
Auto Trait Implementations§
impl Freeze for CaptionSourceFramerateBuilder
impl RefUnwindSafe for CaptionSourceFramerateBuilder
impl Send for CaptionSourceFramerateBuilder
impl Sync for CaptionSourceFramerateBuilder
impl Unpin for CaptionSourceFramerateBuilder
impl UnwindSafe for CaptionSourceFramerateBuilder
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
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>
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>
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 more