Crate sfsm_proc[][src]

Macros

add_state_machine

Generates a state machine from a given state machine definition.

is_state

Checks if the the state (as example returned by peak_state) is in the state to test.

match_state_entry

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.