pub struct AudioTranscoderBuilder { /* private fields */ }
Expand description
Builder for the AudioTranscoder.
Implementations§
Source§impl AudioTranscoderBuilder
impl AudioTranscoderBuilder
Sourcepub fn set_decoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
pub fn set_decoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
Set a decoder option.
Sourcepub fn set_encoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
pub fn set_encoder_option<V>(self, name: &str, value: V) -> Selfwhere
V: ToString,
Set an encoder option.
Sourcepub fn build(self) -> Result<AudioTranscoder, Error>
pub fn build(self) -> Result<AudioTranscoder, Error>
Build the transcoder.
Auto Trait Implementations§
impl Freeze for AudioTranscoderBuilder
impl RefUnwindSafe for AudioTranscoderBuilder
impl Send for AudioTranscoderBuilder
impl Sync for AudioTranscoderBuilder
impl Unpin for AudioTranscoderBuilder
impl UnwindSafe for AudioTranscoderBuilder
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