Struct basic_dsp_vector::combined_ops::PreparedOperation1 [] [src]

pub struct PreparedOperation1<T, NI, DI, NO, DO> where
    T: RealNumber,
    NI: NumberSpace,
    DI: Domain,
    NO: NumberSpace,
    DO: Domain
{ /* fields omitted */ }

An operation on one data vector which has been prepared in advance.

The type arguments can be read like a function definition: TI1 -> TO1

Methods

impl<T, NI, DI, NO, DO> PreparedOperation1<T, NI, DI, NO, DO> where
    T: RealNumber,
    NI: NumberSpace,
    DI: Domain,
    NO: NumberSpace,
    DO: Domain
[src]

An operation which can be prepared in advance and operates on one input and produces one output

[src]

Extends the operation to operate on one more vector.

[src]

Adds new operations which will be executed with the next call to exec

As a background: The function operation will be executed immediately. It only operated on Identifier types and these serve as placeholder for vectors. Every operation done to an Identifier is recorded and will be executed on vectors if exec is called.

[src]

Allows to directly push an Operation enum to a PreparedOperation1. This mainly exists as interop between Rust and other languages.

Trait Implementations

impl<T, S, NI, DI, NO, DO> PreparedOperation1Exec<S, T, DspVec<S, T, NI, DI>, DspVec<S, T, NO, DO>> for PreparedOperation1<T, NI, DI, NO, DO> where
    T: RealNumber,
    S: ToSliceMut<T>,
    DspVec<S, T, NO, DO>: RededicateForceOps<DspVec<S, T, NI, DI>>,
    NI: NumberSpace,
    DI: Domain,
    NO: NumberSpace,
    DO: Domain
[src]

[src]

Executes all recorded operations on the input vectors.

impl<T: Clone, NI: Clone, DI: Clone, NO: Clone, DO: Clone> Clone for PreparedOperation1<T, NI, DI, NO, DO> where
    T: RealNumber,
    NI: NumberSpace,
    DI: Domain,
    NO: NumberSpace,
    DO: Domain
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more