pub(crate) struct MultiOpus {
pub(crate) st: *mut OpusMSEncoder,
}Expand description
Owning wrapper over a raw OpusMSEncoder (the surround multistream encoder).
The raw pointer is only ever touched from the capture thread that owns the enclosing
RunState, which is what makes the unsafe impl Send below sound; Drop destroys the
C encoder.
Fields§
§st: *mut OpusMSEncoderTrait Implementations§
Auto Trait Implementations§
impl !Sync for MultiOpus
impl Freeze for MultiOpus
impl RefUnwindSafe for MultiOpus
impl Unpin for MultiOpus
impl UnsafeUnpin for MultiOpus
impl UnwindSafe for MultiOpus
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