usecrate::{core::event_engine::{EffectInvocation, State},lib::alloc::vec::Vec,};/// State machine transition type.
////// State transition with information about target state and list of effect
/// invocations.
pub(crate)structTransition<S, I>
where
S: State,
I: EffectInvocation,
{/// Target state machine state.
pubstate:Option<S>,
/// List of effect invocation which should be scheduled during transition.
pubinvocations:Vec<I>,
}