pub struct MutSignals<'a, T>(/* private fields */);
Expand description
A newtype wrapping around a mutable buffer. They represent mutably borrowed arguments that will be filled by Opus. E.g. you pass this to an encode-method and Opus encodes data into the underlying buffer.
Info: This type is only verifying that Opus’ requirement are not violated.
Implementations§
Source§impl<'a, T> MutSignals<'a, T>
impl<'a, T> MutSignals<'a, T>
Trait Implementations§
Source§impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut [T]
impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut [T]
Source§impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut MutSignals<'a, T>
impl<'a, T> TryInto<MutSignals<'a, T>> for &'a mut MutSignals<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for MutSignals<'a, T>
impl<'a, T> RefUnwindSafe for MutSignals<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MutSignals<'a, T>where
T: Send,
impl<'a, T> Sync for MutSignals<'a, T>where
T: Sync,
impl<'a, T> Unpin for MutSignals<'a, T>
impl<'a, T> !UnwindSafe for MutSignals<'a, T>
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