pub struct LexCheckpoint {
pub byte: usize,
pub mode: LexerMode,
pub line: usize,
pub column: usize,
}Expand description
Incremental parsing implementation and helpers. Stable restart points to avoid re-lexing the whole world
Fields§
§byte: usize§mode: LexerMode§line: usize§column: usizeTrait Implementations§
Source§impl Clone for LexCheckpoint
impl Clone for LexCheckpoint
Source§fn clone(&self) -> LexCheckpoint
fn clone(&self) -> LexCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LexCheckpoint
impl Debug for LexCheckpoint
impl Copy for LexCheckpoint
Auto Trait Implementations§
impl Freeze for LexCheckpoint
impl RefUnwindSafe for LexCheckpoint
impl Send for LexCheckpoint
impl Sync for LexCheckpoint
impl Unpin for LexCheckpoint
impl UnsafeUnpin for LexCheckpoint
impl UnwindSafe for LexCheckpoint
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