pub struct Decimator<P>(pub P);Expand description
Adapts a decimator to input chunk mode
Synchronizes to the inner tick by discarding samples after tick.
Panics if tick does not match N.
Tuple Fields§
§0: PTrait Implementations§
Source§impl<X: Copy, C, S> SplitInplace<X, S> for Decimator<C>where
Self: SplitProcess<X, X, S>,
impl<X: Copy, C, S> SplitInplace<X, S> for Decimator<C>where
Self: SplitProcess<X, X, S>,
Source§impl<X: Copy, Y, C: SplitProcess<X, Option<Y>, S>, S, const N: usize> SplitProcess<[X; N], Y, S> for Decimator<C>
impl<X: Copy, Y, C: SplitProcess<X, Option<Y>, S>, S, const N: usize> SplitProcess<[X; N], Y, S> for Decimator<C>
Auto Trait Implementations§
impl<P> Freeze for Decimator<P>where
P: Freeze,
impl<P> RefUnwindSafe for Decimator<P>where
P: RefUnwindSafe,
impl<P> Send for Decimator<P>where
P: Send,
impl<P> Sync for Decimator<P>where
P: Sync,
impl<P> Unpin for Decimator<P>where
P: Unpin,
impl<P> UnwindSafe for Decimator<P>where
P: 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