Derive Macro thalo_derive::Event

source ·
#[derive(Event)]
Expand description

Used to implement traits for an aggregate event enum.

Expands to the following:

  • Implements thalo::Apply<...> for thalo::State<T>.
  • Implements From<#path> for #ident for each variant.