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§
Trait Implementations§
source§impl<T: Debug, FA: Debug + FiniteAutomata<T>> Debug for GetNextResult<T, FA>
impl<T: Debug, FA: Debug + FiniteAutomata<T>> Debug for GetNextResult<T, FA>
source§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>
source§fn eq(&self, other: &GetNextResult<T, FA>) -> bool
fn eq(&self, other: &GetNextResult<T, FA>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq, FA: Eq + FiniteAutomata<T>> Eq for GetNextResult<T, FA>
impl<T, FA: FiniteAutomata<T>> StructuralEq for GetNextResult<T, FA>
impl<T, FA: FiniteAutomata<T>> StructuralPartialEq for GetNextResult<T, FA>
Auto Trait Implementations§
impl<T, FA> RefUnwindSafe for GetNextResult<T, FA>where FA: RefUnwindSafe, T: RefUnwindSafe,
impl<T, FA> Send for GetNextResult<T, FA>where FA: Send, T: Send,
impl<T, FA> Sync for GetNextResult<T, FA>where FA: Sync, T: Sync,
impl<T, FA> Unpin for GetNextResult<T, FA>where FA: Unpin, T: Unpin,
impl<T, FA> UnwindSafe for GetNextResult<T, FA>where FA: UnwindSafe, T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more