Struct pure_hfsm::builder::NameMapping [−][src]
pub struct NameMapping { /* fields omitted */ }
Expand description
Obtain a Target
based on serialized state and machine names
Use the NameMapping::target
, NameMapping::goto
and NameMapping::enter
methods to convert a Target
with a String
state/machine name into a
Target
with SHandle
and SmHandle
state names,
usable with the crate::StateMachines
compact and efficient struct.
The names correspond to the ones you provided in State
and StateMachine
name
fields.
Implementations
Get crate::Target
corresponding to this Target
Get a crate::Target::Goto
pointing to State
named name