Skip to main content

transition_mut

Function transition_mut 

Source
pub fn transition_mut<G, T, S, Next>(
    state: StateMut<G, T, S>,
    _token: T::TransitionToken,
) -> StateMutTransitionCall<G, T, S, Next>
where G: DerefMut<Target = SharedValue<T>>, T: StateMachineImpl, T::Standin: Transition<S, Next>,
Expand description

Creates a callable transition for a mutable shared-state guard.

This is the guarded-state counterpart to crate::transition().