Attribute Macro rhai::export_module [−][src]
#[export_module]
Expand description
Attribute, when put on a Rust module, turns it into a plugin module.
Usage
ⓘ
use rhai::plugin::*;
#[export_module]
mod my_plugin_module {
...
}