Skip to main content

PluginEvent

Derive Macro PluginEvent 

Source
#[derive(PluginEvent)]
{
    // Attributes available to this derive:
    #[event]
}
Expand description

Derive PluginEvent for a serde-serializable struct. See the crate docs for the generated items and the #[event(name = "...")] / doc-comment inputs.