pub fn evaluate<R>(&mut self, inputs: impl Iterator<Item = R>) -> Evaluation
    where
        R: Borrow<T>,
    {
        self.restart();
        for transition in inputs {
            self.next(transition.borrow());
        }
        self.eval_current()
    }
/// Evaluates an input that will be either accepted or rejected by the DFA.
///
/// * Panics if the input contains symbols that are not in the DFA's alphabet.
Evaluates an input that will be either accepted or rejected by the DFA.
Panics if the input contains symbols that are not in the DFA's alphabet.
Evaluates an input that will be either accepted or rejected by the DFA . Panics if the input contains symbols that are not in the DFA ' s alphabet .
pub fn evaluate<R>(&mut self, inputs: impl Iterator<Item = R>) -> Evaluation
    where
        R: Borrow<T>,
    {
        self.restart();
        for transition in inputs {
            self.next(transition.borrow());
        }
        self.eval_current()
    }
pub fn evaluate < R > ( & mut self , inputs : impl Iterator < Item = R > ) -> Evaluation where R : Borrow < T > , { self . restart ( ) ; for transition in inputs { self . next ( transition . borrow ( ) ) ; } self . eval_current ( ) }
Evaluates an input that will be either accepted or rejected by the DFA.
Evaluates an input that will be either accepted or rejected by the DFA .
&mut self
inputs
impl Iterator<Item = R>
&mut self
inputs
impl Iterator<Item = R>