macro_rules! export_module {
($module_name:ident, $setupfn:ident) => { ... };
(@fn $name:ident ($($arg:ident : $type:ty),*)) => { ... };
}
Expand description
Exports a setup
function to be called when the module needs to be set up.
You need to specify your module’s loadable name