Finite state machine: Difference between revisions

Content deleted Content added
Vvshard (talk | contribs)
Rust:out
Vvshard (talk | contribs)
Line 2,215:
=={{header|Rust}}==
For abstraction, it is desirable to implement the transitions of the state machine through its methods.
Here it is done transparently using the method_enum::gen macro.<br>
'''[dependencies]'''<br>
methods-enum = "0.2.4"