[][src]Struct dasp_signal::ZipMap

pub struct ZipMap<S, O, M, F> { /* fields omitted */ }

A signal that iterates two signals in parallel and combines them with a function.

ZipMap::is_exhausted returns true if either of the two signals returns true.

Trait Implementations

impl<S: Clone, O: Clone, M: Clone, F: Clone> Clone for ZipMap<S, O, M, F>[src]

impl<S, O, M, F> Signal for ZipMap<S, O, M, F> where
    S: Signal,
    O: Signal,
    M: FnMut(S::Frame, O::Frame) -> F,
    F: Frame
[src]

type Frame = F

The Frame type returned by the Signal.

Auto Trait Implementations

impl<S, O, M, F> RefUnwindSafe for ZipMap<S, O, M, F> where
    F: RefUnwindSafe,
    M: RefUnwindSafe,
    O: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, O, M, F> Send for ZipMap<S, O, M, F> where
    F: Send,
    M: Send,
    O: Send,
    S: Send

impl<S, O, M, F> Sync for ZipMap<S, O, M, F> where
    F: Sync,
    M: Sync,
    O: Sync,
    S: Sync

impl<S, O, M, F> Unpin for ZipMap<S, O, M, F> where
    F: Unpin,
    M: Unpin,
    O: Unpin,
    S: Unpin

impl<S, O, M, F> UnwindSafe for ZipMap<S, O, M, F> where
    F: UnwindSafe,
    M: UnwindSafe,
    O: 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> 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.