macro_rules! command_registry {
(
$registry:ident {
$(
$command:ident => $handler:expr
),* $(,)?
}
) => { ... };
}Expand description
Create a command registry with automatic dispatch
macro_rules! command_registry {
(
$registry:ident {
$(
$command:ident => $handler:expr
),* $(,)?
}
) => { ... };
}Create a command registry with automatic dispatch