pub struct EventContext<'a, TFsm, Q> where
    TFsm: FsmBackend,
    Q: FsmEventQueueSender<TFsm>, 
{ pub context: &'a mut TFsm::Context, pub queue: &'a mut Q, pub region: FsmRegionId, }
Expand description

The context that is given to all of the guards and actions.

Fields

context: &'a mut TFsm::Contextqueue: &'a mut Qregion: FsmRegionId

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.