Struct sampara::signal::AddAmp[][src]

pub struct AddAmp<S, X, const N: usize> where
    S: Signal<N>,
    S::Frame: Frame<N>,
    <S::Frame as Frame<N>>::Sample: Sample<Signed = X>,
    X: Sample
{ /* fields omitted */ }

Adds a constant Sample to each channel in each Frame from a Signal.

Trait Implementations

impl<S: Clone, X: Clone, const N: usize> Clone for AddAmp<S, X, N> where
    S: Signal<N>,
    S::Frame: Frame<N>,
    <S::Frame as Frame<N>>::Sample: Sample<Signed = X>,
    X: Sample
[src]

impl<S, X, const N: usize> Signal<N> for AddAmp<S, X, N> where
    S: Signal<N>,
    S::Frame: Frame<N>,
    <S::Frame as Frame<N>>::Sample: Sample<Signed = X>,
    X: Sample
[src]

type Frame = S::Frame

The Frame type returned by this Signal.

Auto Trait Implementations

impl<S, X, const N: usize> RefUnwindSafe for AddAmp<S, X, N> where
    S: RefUnwindSafe,
    X: RefUnwindSafe

impl<S, X, const N: usize> Send for AddAmp<S, X, N> where
    S: Send,
    X: Send

impl<S, X, const N: usize> Sync for AddAmp<S, X, N> where
    S: Sync,
    X: Sync

impl<S, X, const N: usize> Unpin for AddAmp<S, X, N> where
    S: Unpin,
    X: Unpin

impl<S, X, const N: usize> UnwindSafe for AddAmp<S, X, N> where
    S: UnwindSafe,
    X: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.