macro_rules! export_plugin {
($plugin_constructor:expr $(,)?) => { ... };
}
Expand description
Exports the plugin that will instantiated with the specified expression.
ยงExamples
use openrr_plugin::Plugin;
openrr_plugin::export_plugin!(MyPlugin);
pub struct MyPlugin;
impl Plugin for MyPlugin {
}