pub struct TransitionTarget<ExtendedState, StateType, EventType, TransitionFnArguments, ErrorType> { /* private fields */ }
Expand description

implements the target of a transition upon an event

Implementations

create a transition target

  • endstate - state resulting after correct transition
  • transfn - transition as a boxed function taking in extended state, event and possible arguments

read endstate

Trait Implementations

set optional name

set optional description

set color

set visibility

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.