Trait rsynth::event::EventHandler
source · pub trait EventHandler<E> {
// Required method
fn handle_event(&mut self, event: E);
}
Expand description
The trait that plugins should implement in order to handle the given type of events.
The type parameter E
corresponds to the type of the event.