Struct lalrpop_util::ErrorRecovery [−][src]
pub struct ErrorRecovery<L, T, E> { pub error: ParseError<L, T, E>, pub dropped_tokens: Vec<(L, T, L)>, }
Fields
error: ParseError<L, T, E>
dropped_tokens: Vec<(L, T, L)>
Trait Implementations
impl<L: PartialEq, T: PartialEq, E: PartialEq> PartialEq<ErrorRecovery<L, T, E>> for ErrorRecovery<L, T, E>
impl<L: PartialEq, T: PartialEq, E: PartialEq> PartialEq<ErrorRecovery<L, T, E>> for ErrorRecovery<L, T, E>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<L: PartialOrd, T: PartialOrd, E: PartialOrd> PartialOrd<ErrorRecovery<L, T, E>> for ErrorRecovery<L, T, E>
impl<L: PartialOrd, T: PartialOrd, E: PartialOrd> PartialOrd<ErrorRecovery<L, T, E>> for ErrorRecovery<L, T, E>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<L, T, E> RefUnwindSafe for ErrorRecovery<L, T, E> where
E: RefUnwindSafe,
L: RefUnwindSafe,
T: RefUnwindSafe,
impl<L, T, E> Send for ErrorRecovery<L, T, E> where
E: Send,
L: Send,
T: Send,
impl<L, T, E> Sync for ErrorRecovery<L, T, E> where
E: Sync,
L: Sync,
T: Sync,
impl<L, T, E> Unpin for ErrorRecovery<L, T, E> where
E: Unpin,
L: Unpin,
T: Unpin,
impl<L, T, E> UnwindSafe for ErrorRecovery<L, T, E> where
E: UnwindSafe,
L: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more