Struct perplex::machine::StateMachine [−][src]
pub struct StateMachine { /* fields omitted */ }
A state machine.
Methods
impl StateMachine
[src]
impl StateMachine
pub fn try_from(item_sets: &ItemSets) -> Result<StateMachine, Vec<String>>
[src]
pub fn try_from(item_sets: &ItemSets) -> Result<StateMachine, Vec<String>>
Create a state machine from a list of item sets.
ⓘImportant traits for States<'a>pub fn states(&self) -> States
[src]
ⓘImportant traits for States<'a>
pub fn states(&self) -> States
All states in the state machine.
Trait Implementations
impl Index<StateId> for StateMachine
[src]
impl Index<StateId> for StateMachine
type Output = State
The returned type after indexing.
fn index(&self, index: StateId) -> &State
[src]
fn index(&self, index: StateId) -> &State
Performs the indexing (container[index]
) operation.
impl IndexMut<StateId> for StateMachine
[src]
impl IndexMut<StateId> for StateMachine
Auto Trait Implementations
impl Send for StateMachine
impl Send for StateMachine
impl Sync for StateMachine
impl Sync for StateMachine