[][src]Trait rusty_state::machine::State

pub trait State {
    pub fn transition_allowed(self, new_state: &Self) -> bool;
}

Trait that must be implemented by state enumerations

Required methods

pub fn transition_allowed(self, new_state: &Self) -> bool

Loading content...

Implementors

Loading content...