Struct extfsm::TransitionSource[][src]

pub struct TransitionSource<StateType, EventType> { /* fields omitted */ }

describes a transition origination point

Methods

impl<StateType, EventType> TransitionSource<StateType, EventType>
[src]

create a transition source

  • state - original state
  • event - event occuring

Important traits for &'a mut R

read state

Important traits for &'a mut R

read event

Trait Implementations

impl<StateType: Hash, EventType: Hash> Hash for TransitionSource<StateType, EventType>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<StateType: Eq, EventType: Eq> Eq for TransitionSource<StateType, EventType>
[src]

impl<StateType: PartialEq, EventType: PartialEq> PartialEq for TransitionSource<StateType, EventType>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<StateType: Clone, EventType: Clone> Clone for TransitionSource<StateType, EventType>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<StateType, EventType> Send for TransitionSource<StateType, EventType> where
    EventType: Send,
    StateType: Send

impl<StateType, EventType> Sync for TransitionSource<StateType, EventType> where
    EventType: Sync,
    StateType: Sync