pub struct SpectrogramOptions {
pub nfft: usize,
pub hop: usize,
pub window: SpectrogramWindow,
}Expand description
Configuration for spectrogram rendering.
Fields§
§nfft: usizeFFT size used for each STFT frame.
hop: usizeHop size, in samples, between adjacent STFT frames.
window: SpectrogramWindowAnalysis window applied before each FFT.
Trait Implementations§
Source§impl Clone for SpectrogramOptions
impl Clone for SpectrogramOptions
Source§fn clone(&self) -> SpectrogramOptions
fn clone(&self) -> SpectrogramOptions
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 moreSource§impl Debug for SpectrogramOptions
impl Debug for SpectrogramOptions
Source§impl Default for SpectrogramOptions
impl Default for SpectrogramOptions
impl Copy for SpectrogramOptions
Auto Trait Implementations§
impl Freeze for SpectrogramOptions
impl RefUnwindSafe for SpectrogramOptions
impl Send for SpectrogramOptions
impl Sync for SpectrogramOptions
impl Unpin for SpectrogramOptions
impl UnwindSafe for SpectrogramOptions
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