Struct sampara::signal::ZipMap[][src]

pub struct ZipMap<S, O, F, M, const N: usize, const NO: usize, const NF: usize> where
    S: Signal<N>,
    O: Signal<NO>,
    M: FnMut(S::Frame, O::Frame) -> F,
    F: Frame<NF>, 
{ /* fields omitted */ }

Maps a function to each pair of Frames from two Signals in lockstep and yields a new Frame.

Trait Implementations

impl<S: Clone, O: Clone, F: Clone, M: Clone, const N: usize, const NO: usize, const NF: usize> Clone for ZipMap<S, O, F, M, N, NO, NF> where
    S: Signal<N>,
    O: Signal<NO>,
    M: FnMut(S::Frame, O::Frame) -> F,
    F: Frame<NF>, 
[src]

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

type Frame = F

The Frame type returned by this Signal.

Auto Trait Implementations

impl<S, O, F, M, const N: usize, const NO: usize, const NF: usize> RefUnwindSafe for ZipMap<S, O, F, M, N, NO, NF> where
    M: RefUnwindSafe,
    O: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, O, F, M, const N: usize, const NO: usize, const NF: usize> Send for ZipMap<S, O, F, M, N, NO, NF> where
    M: Send,
    O: Send,
    S: Send

impl<S, O, F, M, const N: usize, const NO: usize, const NF: usize> Sync for ZipMap<S, O, F, M, N, NO, NF> where
    M: Sync,
    O: Sync,
    S: Sync

impl<S, O, F, M, const N: usize, const NO: usize, const NF: usize> Unpin for ZipMap<S, O, F, M, N, NO, NF> where
    M: Unpin,
    O: Unpin,
    S: Unpin

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