Crate sfsm_proc[−][src]
Expand description
Static state machine generator for no_std environments generator
Contains proc macros used by the sfsm crate to generate state machines.
Macros
Generates a fallible state machine from a given state machine definition with error handling.
Generates code to push messages into states or poll messages from states.
Generates a state machine from a given state machine definition.
Generate the enum entry of a state. Expects the name of the sfsm and the name (and type args) of the state as well as the desired name of the variable to work with as arguments. Can be used to generate match branches for example.