pub struct Spectrogram {
pub times: Vec<f64>,
pub bin_hz: f64,
pub frames: Vec<Vec<f64>>,
}Expand description
A spectrogram of samples dt apart: frames of frame samples (a power of two) every half frame, each frame’s
amplitudes as spectrum gives them. With the time of each frame’s middle and the bin width in Hz.
Fields§
§times: Vec<f64>§bin_hz: f64§frames: Vec<Vec<f64>>Trait Implementations§
Source§impl Clone for Spectrogram
impl Clone for Spectrogram
Source§fn clone(&self) -> Spectrogram
fn clone(&self) -> Spectrogram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Spectrogram
impl Debug for Spectrogram
Source§impl Default for Spectrogram
impl Default for Spectrogram
Source§fn default() -> Spectrogram
fn default() -> Spectrogram
Returns the “default value” for a type. Read more
Source§impl PartialEq for Spectrogram
impl PartialEq for Spectrogram
Source§fn eq(&self, other: &Spectrogram) -> bool
fn eq(&self, other: &Spectrogram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Spectrogram
Auto Trait Implementations§
impl Freeze for Spectrogram
impl RefUnwindSafe for Spectrogram
impl Send for Spectrogram
impl Sync for Spectrogram
impl Unpin for Spectrogram
impl UnsafeUnpin for Spectrogram
impl UnwindSafe for Spectrogram
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