Struct dfa::Automata
[−]
[src]
pub struct Automata<T> where T: Hash + Eq { /* fields omitted */ }
pub struct Automata<T> where T: Hash + Eq { /* fields omitted */ }
impl<T> Automata<T> where T: Hash + Eq
[src]fn new(start: State) -> Self
fn add_state(&mut self, state: State)
fn add_transition(&mut self, init: State, end: State, val: T)
fn consume(&mut self, val: T)
fn restart(&mut self)
fn accepted(&self) -> bool
fn current(&self) -> State
impl<T: Debug> Debug for Automata<T> where T: Hash + Eq
[src]