Macro sfsm::derive_state
source · [−]derive_state!() { /* proc-macro */ }
Expand description
Derives an empty implementation of the state.
ⓘ
derive_state!(Foo);
// Generates
impl State for Foo {};
It’s somewhat redundant, but it is added for consistency to match the other derive_* functions and to help keep state machine short and clean.