pub struct WaveformBin {
pub peak: WaveformVal,
pub energy: WaveformVal,
}Fields§
§peak: WaveformValClamped, absolute peak value in the range 0..=1
energy: WaveformValClamped and scaled RMS value in the range 0..=1.
Trait Implementations§
Source§impl Clone for WaveformBin
impl Clone for WaveformBin
Source§fn clone(&self) -> WaveformBin
fn clone(&self) -> WaveformBin
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 WaveformBin
impl Debug for WaveformBin
Source§impl Default for WaveformBin
impl Default for WaveformBin
Source§fn default() -> WaveformBin
fn default() -> WaveformBin
Returns the “default value” for a type. Read more
impl Copy for WaveformBin
Auto Trait Implementations§
impl Freeze for WaveformBin
impl RefUnwindSafe for WaveformBin
impl Send for WaveformBin
impl Sync for WaveformBin
impl Unpin for WaveformBin
impl UnwindSafe for WaveformBin
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