pub trait InitialState: State { }
Expand description
InitialState is a custom marker trait that allows a state to be used as
the initial state in a state machine. This trait is a superset of the
State
trait.
If you are using the sm!
macro, then there is no need to interact with
this trait.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.