macro_rules! export_plugin {
($plugin:ty) => { ... };
($plugin:ty => $guest:ident) => { ... };
}Expand description
Exports a type implementing VtxPlugin as the world vtx-plugin Guest for WIT.
Usage:
export_plugin!(MyPlugin): Generates a default guest adapter and exports it.export_plugin!(MyPlugin => MyGuest): Defines a custom adapter name (useful to avoid naming conflicts when the macro is called multiple times within the same crate).