pub struct PeakDetectorImpl<F> { /* private fields */ }
Implementations§
Source§impl<F: Float + Sum> PeakDetectorImpl<F>
impl<F: Float + Sum> PeakDetectorImpl<F>
pub fn value(&self) -> F
pub fn accept_frame(&mut self, attack_mult: F, release_mult: F, frame: &[F])
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for PeakDetectorImpl<F>where
F: Freeze,
impl<F> RefUnwindSafe for PeakDetectorImpl<F>where
F: RefUnwindSafe,
impl<F> Send for PeakDetectorImpl<F>where
F: Send,
impl<F> Sync for PeakDetectorImpl<F>where
F: Sync,
impl<F> Unpin for PeakDetectorImpl<F>where
F: Unpin,
impl<F> UnwindSafe for PeakDetectorImpl<F>where
F: UnwindSafe,
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