pub enum SyncToken {
Semicolon,
End,
Declaration,
RightBrace,
RightParen,
Eof,
}Expand description
Synchronization token for error recovery.
Variants§
Semicolon
Semicolon ;
End
End keyword
Declaration
Declaration keyword (def, theorem, etc.)
RightBrace
Right brace }
RightParen
Right parenthesis )
Eof
End of file
Trait Implementations§
impl Copy for SyncToken
impl Eq for SyncToken
impl StructuralPartialEq for SyncToken
Auto Trait Implementations§
impl Freeze for SyncToken
impl RefUnwindSafe for SyncToken
impl Send for SyncToken
impl Sync for SyncToken
impl Unpin for SyncToken
impl UnsafeUnpin for SyncToken
impl UnwindSafe for SyncToken
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