[][src]Struct sample::signal::Map

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

A signal that maps from one signal to another

Trait Implementations

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

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

type Frame = F

The Frame type returned by the Signal.

Auto Trait Implementations

impl<S, M, F> RefUnwindSafe for Map<S, M, F> where
    F: RefUnwindSafe,
    M: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, M, F> Send for Map<S, M, F> where
    F: Send,
    M: Send,
    S: Send

impl<S, M, F> Sync for Map<S, M, F> where
    F: Sync,
    M: Sync,
    S: Sync

impl<S, M, F> Unpin for Map<S, M, F> where
    F: Unpin,
    M: Unpin,
    S: Unpin

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