pub trait PluginBase {
// Provided methods
fn on_load(&mut self) -> Result<()> { ... }
fn get_info(&self) -> PluginInfo { ... }
fn on_parameter(&mut self, id: i32) -> Result<()> { ... }
fn on_get_parameter_string(&self, id: i32) -> Result<String> { ... }
}Expand description
Base plugin trait that all plugin types implement
Provided Methods§
Sourcefn get_info(&self) -> PluginInfo
fn get_info(&self) -> PluginInfo
Get plugin information
Sourcefn on_parameter(&mut self, id: i32) -> Result<()>
fn on_parameter(&mut self, id: i32) -> Result<()>
Called when a parameter is changed
Sourcefn on_get_parameter_string(&self, id: i32) -> Result<String>
fn on_get_parameter_string(&self, id: i32) -> Result<String>
Get string representation of a parameter