/// Implement the [Transitionable] trait to use the [Machine](super::machine::Machine) directly with your structures.
pubtraitTransitionable<S> {/// Returns the current state of a structure.
fnget_state(&self)-> S;/// Sets a new state in the structure.
fnset_state(&mutself, new_state: S);}