Struct sampara::signal::Delay[][src]

pub struct Delay<S, const N: usize> where
    S: Signal<N>, 
{ /* fields omitted */ }

Delays a Signal a given number of Frames by yielding Frame::EQUILIBRIUM that many times before yielding from the contained Signal.

Trait Implementations

impl<S: Clone, const N: usize> Clone for Delay<S, N> where
    S: Signal<N>, 
[src]

impl<S, const N: usize> Signal<N> for Delay<S, N> where
    S: Signal<N>, 
[src]

type Frame = S::Frame

The Frame type returned by this Signal.

Auto Trait Implementations

impl<S, const N: usize> RefUnwindSafe for Delay<S, N> where
    S: RefUnwindSafe

impl<S, const N: usize> Send for Delay<S, N> where
    S: Send

impl<S, const N: usize> Sync for Delay<S, N> where
    S: Sync

impl<S, const N: usize> Unpin for Delay<S, N> where
    S: Unpin

impl<S, const N: usize> UnwindSafe for Delay<S, N> where
    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.