Skip to main content

export

Macro export 

Source
macro_rules! export {
    ($plugin:ty) => { ... };
}
Expand description

Exports a Plugin implementation as the component’s rift:plugin/handler interface. Use it exactly once per plugin crate.

ⓘ
rift_plugin::export!(MyPlugin);