[][src]Struct sample::signal::MulHz

pub struct MulHz<S, M, I> where
    S: Signal,
    I: Interpolator
{ /* fields omitted */ }

Multiplies the rate at which frames of self are yielded by the given signal.

This happens by wrapping self in a rate::Converter and calling set_playback_hz_scale with the value yielded by signal

Trait Implementations

impl<S: Clone, M: Clone, I: Clone> Clone for MulHz<S, M, I> where
    S: Signal,
    I: Interpolator
[src]

impl<S, M, I> Signal for MulHz<S, M, I> where
    S: Signal,
    <S::Frame as Frame>::Sample: Duplex<f64>,
    M: Signal<Frame = [f64; 1]>,
    I: Interpolator<Frame = S::Frame>, 
[src]

type Frame = S::Frame

The Frame type returned by the Signal.

Auto Trait Implementations

impl<S, M, I> RefUnwindSafe for MulHz<S, M, I> where
    I: RefUnwindSafe,
    M: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, M, I> Send for MulHz<S, M, I> where
    I: Send,
    M: Send,
    S: Send

impl<S, M, I> Sync for MulHz<S, M, I> where
    I: Sync,
    M: Sync,
    S: Sync

impl<S, M, I> Unpin for MulHz<S, M, I> where
    I: Unpin,
    M: Unpin,
    S: Unpin

impl<S, M, I> UnwindSafe for MulHz<S, M, I> where
    I: UnwindSafe,
    M: UnwindSafe,
    S: 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> 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.