pub struct CodeEngineBackend { /* private fields */ }
Expand description

The backend handle for a CodeEngine.

You get this from a call to CodeEngine::get_backend. Make sure to set it up properly with CodeEngineBackend::set_sample_rate and regularily call CodeEngineBackend::process_updates for receiving updated DSPFunction instances from CodeEngine::upload.

Implementations

Update/set the sample rate for the DSP function. This will also reset the state of the DSP function.

Reset the state of the DSP function.

Process updates received from the thread running the CodeEngine.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.