HandleEventsContext

Trait HandleEventsContext 

Source
pub trait HandleEventsContext {
    // Required methods
    fn events(&self) -> impl Iterator<Item = Data> + Clone;
    fn parameters(&self) -> &impl SynthParamStates;
}
Expand description

A trait for metadata during an audio processing call

Required Methods§

Source

fn events(&self) -> impl Iterator<Item = Data> + Clone

The events to handle

Source

fn parameters(&self) -> &impl SynthParamStates

Parameter state

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§