Enum derive_finite_automaton::GetNextResult [−][src]
pub enum GetNextResult<T, FA: FiniteAutomata<T>> {
Result {
result: T,
ate_character: bool,
},
NewState(FA),
InvalidCharacter(InvalidCharacter),
}
Expand description
Where ‘T’ is the type the stateful trie returns TODO the result should be only on the first result not the second …
Variants
Result
NewState(FA)
InvalidCharacter(InvalidCharacter)
Tuple Fields
Trait Implementations
impl<T: PartialEq, FA: PartialEq + FiniteAutomata<T>> PartialEq<GetNextResult<T, FA>> for GetNextResult<T, FA>
impl<T: PartialEq, FA: PartialEq + FiniteAutomata<T>> PartialEq<GetNextResult<T, FA>> for GetNextResult<T, FA>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.