pub enum SyncPoint {
Semicolon,
CloseBrace,
Keyword,
Eof,
}Expand description
Synchronization tokens for error recovery
Variants§
Semicolon
Semicolon - statement boundary
CloseBrace
Closing brace - block boundary
Keyword
Keywords that start statements
Eof
End of file
Trait Implementations§
impl Copy for SyncPoint
impl StructuralPartialEq for SyncPoint
Auto Trait Implementations§
impl Freeze for SyncPoint
impl RefUnwindSafe for SyncPoint
impl Send for SyncPoint
impl Sync for SyncPoint
impl Unpin for SyncPoint
impl UnsafeUnpin for SyncPoint
impl UnwindSafe for SyncPoint
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