pub struct RelexCheckpoint { /* private fields */ }Expand description
Opaque snapshot returned by Lexer::relex_for_rule. Pass it to
Lexer::unrelex if the caller later rejects the committed recut.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RelexCheckpoint
impl !UnwindSafe for RelexCheckpoint
impl Freeze for RelexCheckpoint
impl Send for RelexCheckpoint
impl Sync for RelexCheckpoint
impl Unpin for RelexCheckpoint
impl UnsafeUnpin for RelexCheckpoint
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