pub struct StftWriteBuffers<'a> {
pub mono: &'a mut [f32],
pub fft: &'a mut [f32],
pub window: &'a mut [f32],
pub spectra: &'a mut [u8],
pub metadata: &'a mut [u8],
pub payload: &'a mut [u8],
pub file: &'a mut [u8],
}Expand description
Caller-owned staging buffers for STFT calculation and container serialization. None of these buffers is a published result when encoding returns an error.
Fields§
§mono: &'a mut [f32]§fft: &'a mut [f32]§window: &'a mut [f32]§spectra: &'a mut [u8]§metadata: &'a mut [u8]§payload: &'a mut [u8]§file: &'a mut [u8]Auto Trait Implementations§
impl<'a> !UnwindSafe for StftWriteBuffers<'a>
impl<'a> Freeze for StftWriteBuffers<'a>
impl<'a> RefUnwindSafe for StftWriteBuffers<'a>
impl<'a> Send for StftWriteBuffers<'a>
impl<'a> Sync for StftWriteBuffers<'a>
impl<'a> Unpin for StftWriteBuffers<'a>
impl<'a> UnsafeUnpin for StftWriteBuffers<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more