pub trait Extensions<P: Plugin> {
// Provided methods
fn audio_ports() -> Option<impl AudioPorts<P>> { ... }
fn latency() -> Option<impl Latency<P>> { ... }
fn note_ports() -> Option<impl NotePorts<P>> { ... }
fn params() -> Option<impl Params<P>> { ... }
fn state() -> Option<impl State<P>> { ... }
fn tail() -> Option<impl Tail<P>> { ... }
}
Expand description
Plugin extensions.
Provided Methods§
fn audio_ports() -> Option<impl AudioPorts<P>>
fn latency() -> Option<impl Latency<P>>
fn note_ports() -> Option<impl NotePorts<P>>
fn params() -> Option<impl Params<P>>
fn state() -> Option<impl State<P>>
fn tail() -> Option<impl Tail<P>>
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.