pub(crate) struct OpusDec {
pub(crate) st: *mut OpusDecoder,
}Expand description
Owning wrapper over a raw OpusDecoder.
The pointer is only touched from the thread holding the enclosing Mutex, which is what
makes the unsafe impl Send sound; Drop destroys the C decoder.
Fields§
§st: *mut OpusDecoderTrait Implementations§
Auto Trait Implementations§
impl !Sync for OpusDec
impl Freeze for OpusDec
impl RefUnwindSafe for OpusDec
impl Unpin for OpusDec
impl UnsafeUnpin for OpusDec
impl UnwindSafe for OpusDec
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