macro_rules! export_plugin {
($name: expr, $version: expr, $freight: ident) => { ... };
}
Expand description
A macro, which can be used to make exporting of a struct easier
ยงExample
dusk_api::export_plugin!("test", "0.1.0", MyFreight);
pub struct MyFreight;
impl Freight for MyFreight {
// Your implementation here
}