pub trait FsmStates<TFsm>: FsmStateFactory<TFsm> where
TFsm: FsmBackend, {
type StateKind: Clone + Copy + Debug + PartialEq + 'static;
type CurrentState: Clone + Copy + Debug + Default + AsRef<[FsmCurrentState<Self::StateKind>]> + AsMut<[FsmCurrentState<Self::StateKind>]> + 'static;
}
Expand description
The implementation should hold all of the FSM’s states as fields.
Associated Types
The enum type for all states that’s used as the “current state” field in the FSM’s backend.