Struct sampara::signal::MulSignal[][src]

pub struct MulSignal<A, B, const N: usize> where
    A: Signal<N>,
    B: Signal<N>,
    A::Frame: Frame<N, Float = <B::Frame as Frame<N>>::Float>, 
{ /* fields omitted */ }

Multiplies together pairs of Frames from two Signals in lockstep and yields their product.

Trait Implementations

impl<A: Clone, B: Clone, const N: usize> Clone for MulSignal<A, B, N> where
    A: Signal<N>,
    B: Signal<N>,
    A::Frame: Frame<N, Float = <B::Frame as Frame<N>>::Float>, 
[src]

impl<A, B, const N: usize> Signal<N> for MulSignal<A, B, N> where
    A: Signal<N>,
    B: Signal<N>,
    A::Frame: Frame<N, Float = <B::Frame as Frame<N>>::Float>, 
[src]

type Frame = A::Frame

The Frame type returned by this Signal.

Auto Trait Implementations

impl<A, B, const N: usize> RefUnwindSafe for MulSignal<A, B, N> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B, const N: usize> Send for MulSignal<A, B, N> where
    A: Send,
    B: Send

impl<A, B, const N: usize> Sync for MulSignal<A, B, N> where
    A: Sync,
    B: Sync

impl<A, B, const N: usize> Unpin for MulSignal<A, B, N> where
    A: Unpin,
    B: Unpin

impl<A, B, const N: usize> UnwindSafe for MulSignal<A, B, N> where
    A: UnwindSafe,
    B: 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.