pub struct OpusDecoder { /* private fields */ }Expand description
Opus audio decoder (pure Rust).
Trait Implementations§
Source§impl Decoder for OpusDecoder
impl Decoder for OpusDecoder
Source§fn set_header(&mut self, header: &CodecHeader) -> Result<SampleFormat>
fn set_header(&mut self, header: &CodecHeader) -> Result<SampleFormat>
Initialize the decoder from a codec header. Returns the sample format.
Auto Trait Implementations§
impl Freeze for OpusDecoder
impl RefUnwindSafe for OpusDecoder
impl Send for OpusDecoder
impl Sync for OpusDecoder
impl Unpin for OpusDecoder
impl UnsafeUnpin 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