pub struct StreamingFftConfig {
pub fft_size: usize,
pub hop_size: usize,
pub window: WindowType,
}Expand description
Configuration for StreamingFft.
Fields§
§fft_size: usizeFFT window size. Must be a power of two and at least 2.
hop_size: usizeHop size (distance between successive analysis frames).
Must satisfy 1 <= hop_size <= fft_size.
window: WindowTypeWindow function applied to each frame before the FFT.
Trait Implementations§
Source§impl Clone for StreamingFftConfig
impl Clone for StreamingFftConfig
Source§fn clone(&self) -> StreamingFftConfig
fn clone(&self) -> StreamingFftConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StreamingFftConfig
impl RefUnwindSafe for StreamingFftConfig
impl Send for StreamingFftConfig
impl Sync for StreamingFftConfig
impl Unpin for StreamingFftConfig
impl UnsafeUnpin for StreamingFftConfig
impl UnwindSafe for StreamingFftConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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