pub trait FxProcessor: Send {
// Required methods
fn process(&mut self, buf: &mut [f32]);
fn name(&self) -> &str;
// Provided methods
fn set_intensity(&mut self, _intensity: f32) { ... }
fn init(&mut self, _sample_rate: u32) { ... }
}Expand description
Stub: FX processor trait.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".