extern crate rustfsm_trait as rustfsm; use rustfsm_procmacro::fsm; fsm! { One --(A)--> Two } #[derive(Default, Clone)] pub struct One {} #[derive(Default, Clone)] pub struct Two {} fn main() {}