pub trait UGenPlugin {
type InitParam;
type Args;
type Ret;
// Required methods
fn new(param: Self::InitParam) -> Self;
fn on_sample(&mut self, arg: Self::Args) -> Self::Ret;
}Expand description
Todo: Make wrapper macro for auto impl Plugin
Required Associated Types§
Required Methods§
fn new(param: Self::InitParam) -> Self
fn on_sample(&mut self, arg: Self::Args) -> Self::Ret
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.