[][src]Trait sm::State

pub trait State: Debug + Eq + Clone { }

State is a custom marker trait that allows unit-like structs to be used as states in a state machine.

If you are using the sm! macro, then there is no need to interact with this trait.

Implementors