[][src]Struct dasp_signal::ScaleAmp

pub struct ScaleAmp<S> where
    S: Signal
{ /* fields omitted */ }

An Iterator that scales the amplitude of the sample of each channel in every Frame yielded by self by the given amplitude.

Trait Implementations

impl<S: Clone> Clone for ScaleAmp<S> where
    S: Signal,
    S::Frame: Clone
[src]

impl<S> Signal for ScaleAmp<S> where
    S: Signal
[src]

type Frame = S::Frame

The Frame type returned by the Signal.

Auto Trait Implementations

impl<S> RefUnwindSafe for ScaleAmp<S> where
    S: RefUnwindSafe,
    <<<S as Signal>::Frame as Frame>::Sample as Sample>::Float: RefUnwindSafe

impl<S> Send for ScaleAmp<S> where
    S: Send,
    <<<S as Signal>::Frame as Frame>::Sample as Sample>::Float: Send

impl<S> Sync for ScaleAmp<S> where
    S: Sync,
    <<<S as Signal>::Frame as Frame>::Sample as Sample>::Float: Sync

impl<S> Unpin for ScaleAmp<S> where
    S: Unpin,
    <<<S as Signal>::Frame as Frame>::Sample as Sample>::Float: Unpin

impl<S> UnwindSafe for ScaleAmp<S> where
    S: UnwindSafe,
    <<<S as Signal>::Frame as Frame>::Sample as Sample>::Float: 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<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

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

impl<S> FromSample<S> for S[src]

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

impl<T> SignalBus for T where
    T: Signal
[src]

impl<T> SignalEnvelope for T where
    T: Signal
[src]

impl<T> SignalRms for T where
    T: Signal
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

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.