[−][src]Trait finny::FsmTransitionAction
A transition's action that can operate on both the exit and entry states.
Required methods
pub fn action<'a, Q: FsmEventQueue<F>>(
event: &E,
context: &mut EventContext<'a, F, Q>,
from: &mut TStateFrom,
to: &mut TStateTo
)
[src]
event: &E,
context: &mut EventContext<'a, F, Q>,
from: &mut TStateFrom,
to: &mut TStateTo
)
This action is executed after the first state's exit event, and just before the second event's entry action. It can mutate both states.
Provided methods
pub fn execute_action_transition<Q: FsmEventQueue<F>>(
frontend: &mut FsmFrontend<F, Q>,
event: &E
) where
<F as FsmBackend>::States: FsmStateTransitionAsMut<TStateFrom, TStateTo>,
[src]
frontend: &mut FsmFrontend<F, Q>,
event: &E
) where
<F as FsmBackend>::States: FsmStateTransitionAsMut<TStateFrom, TStateTo>,