pub struct EncodingVideoProfileBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> EncodingVideoProfileBuilder<'a>
impl<'a> EncodingVideoProfileBuilder<'a>
pub fn pass(self, pass: u32) -> Self
pub fn variable_framerate(self, variable_framerate: bool) -> Self
pub fn restriction(self, restriction: &'a Caps) -> Self
pub fn build(self) -> EncodingVideoProfile
Trait Implementations§
source§impl<'a> Debug for EncodingVideoProfileBuilder<'a>
impl<'a> Debug for EncodingVideoProfileBuilder<'a>
source§impl<'a> EncodingProfileBuilder<'a> for EncodingVideoProfileBuilder<'a>
impl<'a> EncodingProfileBuilder<'a> for EncodingVideoProfileBuilder<'a>
fn name(self, name: &'a str) -> EncodingVideoProfileBuilder<'a>
fn description(self, description: &'a str) -> EncodingVideoProfileBuilder<'a>
fn preset(self, preset: &'a str) -> EncodingVideoProfileBuilder<'a>
fn preset_name(self, preset_name: &'a str) -> EncodingVideoProfileBuilder<'a>
fn presence(self, presence: u32) -> EncodingVideoProfileBuilder<'a>
fn presence_if( self, presence: u32, predicate: bool, ) -> EncodingVideoProfileBuilder<'a>
fn presence_if_some( self, presence: Option<u32>, ) -> EncodingVideoProfileBuilder<'a>
fn allow_dynamic_output(self, allow: bool) -> EncodingVideoProfileBuilder<'a>
fn allow_dynamic_output_if_some( self, allow_dynamic_output: Option<bool>, ) -> EncodingVideoProfileBuilder<'a>
fn enabled(self, enabled: bool) -> EncodingVideoProfileBuilder<'a>
fn enabled_if_some( self, enabled: Option<bool>, ) -> EncodingVideoProfileBuilder<'a>
fn single_segment(self, single_segment: bool) -> EncodingVideoProfileBuilder<'a>
fn single_segment_if_some( self, single_segment: Option<bool>, ) -> EncodingVideoProfileBuilder<'a>
fn element_properties( self, element_properties: ElementProperties, ) -> EncodingVideoProfileBuilder<'a>
fn element_properties_if( self, element_properties: ElementProperties, predicate: bool, ) -> EncodingVideoProfileBuilder<'a>
fn element_properties_if_some( self, element_properties: Option<ElementProperties>, ) -> EncodingVideoProfileBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncodingVideoProfileBuilder<'a>
impl<'a> RefUnwindSafe for EncodingVideoProfileBuilder<'a>
impl<'a> Send for EncodingVideoProfileBuilder<'a>
impl<'a> Sync for EncodingVideoProfileBuilder<'a>
impl<'a> Unpin for EncodingVideoProfileBuilder<'a>
impl<'a> UnwindSafe for EncodingVideoProfileBuilder<'a>
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> 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 more