Skip to main content

Crate obzenflow_fsm_macros

Crate obzenflow_fsm_macros 

Source
Expand description

Proc-macro helpers for obzenflow-fsm.

This crate is an implementation detail of obzenflow-fsm. End users should depend on obzenflow-fsm and use the re-exported macros from that crate:

  • #[derive(obzenflow_fsm::StateVariant, obzenflow_fsm::EventVariant)]
  • obzenflow_fsm::fsm! { ... }

Macros§

fsm
High-level typed FSM builder DSL.

Derive Macros§

EventVariant
Derive ::obzenflow_fsm::EventVariant for an enum.
StateVariant
Derive ::obzenflow_fsm::StateVariant for an enum.