pub struct OpusDecoder { /* private fields */ }Expand description
Thin wrapper around Opus decoder.
Implementations§
Source§impl OpusDecoder
impl OpusDecoder
Sourcepub fn new(config: &AudioConfig) -> Result<Self>
pub fn new(config: &AudioConfig) -> Result<Self>
Construct an Opus decoder based on the audio config.
Auto Trait Implementations§
impl Freeze for OpusDecoder
impl RefUnwindSafe for OpusDecoder
impl Send for OpusDecoder
impl !Sync for OpusDecoder
impl Unpin for OpusDecoder
impl UnwindSafe for OpusDecoder
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