Trait pure_hfsm::builder::IntoTransition [−][src]
pub trait IntoTransition<T> {
fn into_with(self, mapping: &NameMapping) -> T;
}
Expand description
Convert Self
into something that implements crate::Transition
You will need NameMapping
to be able to instantiate the crate::Target
necessary for transitions to work. The NameMapping
contains the
SHandle
and SmHandle
necessary for implementing
crate::Transition
. The names correspond to the ones you provided in
State
and StateMachine
name
fields.
Required methods
fn into_with(self, mapping: &NameMapping) -> T
fn into_with(self, mapping: &NameMapping) -> T
Convert Self
into T