[][src]Trait dasp_peak::Rectifier

pub trait Rectifier<F> where
    F: Frame
{ type Output: Frame<NumChannels = F::NumChannels>; fn rectify(&mut self, frame: F) -> Self::Output; }

Types that may be used to rectify a signal of frames F for a Peak detector.

Associated Types

type Output: Frame<NumChannels = F::NumChannels>

Frames that can be detected.

Loading content...

Required methods

fn rectify(&mut self, frame: F) -> Self::Output

Rectify the given frame.

Loading content...

Implementors

impl<F> Rectifier<F> for FullWave where
    F: Frame
[src]

type Output = F::Signed

impl<F> Rectifier<F> for NegativeHalfWave where
    F: Frame
[src]

type Output = F

impl<F> Rectifier<F> for PositiveHalfWave where
    F: Frame
[src]

type Output = F

Loading content...