Skip to main content

Event

Derive Macro Event 

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

Derives Event for a struct: its compile-time EventId, a reflected EventSchema, and an impl Event.