state

Macro state 

Source
macro_rules! state {
    ($stage:ident { $($name:ident $(: $val:expr)?),* }) => { ... };
}
Expand description

Macro to generate the proper state struct