[][src]Trait spectrusty_core::audio::SampleDelta

pub trait SampleDelta: Copy + Default {
    pub fn sample_delta(self, after: Self) -> Option<Self>;
}

This trait is being used to calculate sample amplitude differences (∆).

Required methods

pub fn sample_delta(self, after: Self) -> Option<Self>[src]

Returns the difference (if any) between after and self (before).

Loading content...

Implementations on Foreign Types

impl SampleDelta for f32[src]

impl SampleDelta for i16[src]

impl SampleDelta for i32[src]

Loading content...

Implementors

Loading content...