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