Trait StatesContains

Source
pub trait StatesContains<S> {
    // Required method
    fn states_contains(&self, state: &S) -> Option<StateIndex>;
}

Required Methods§

Source

fn states_contains(&self, state: &S) -> Option<StateIndex>

Return the state index of the state, if it exists.

Implementors§

Source§

impl<S: Ord, T: Ord> StatesContains<S> for Dfa<S, T>

Source§

impl<S: Ord, T: Ord> StatesContains<S> for Enfa<S, T>

Source§

impl<S: Ord, T: Ord> StatesContains<S> for Nfa<S, T>