pub struct RecoveryPoint {
pub context: ParseContext,
pub start_position: usize,
pub start_line: usize,
pub start_column: usize,
}Expand description
A recovery point in the parse
Fields§
§context: ParseContextThe context we’re in
start_position: usizePosition where this context started
start_line: usizeLine where this context started
start_column: usizeColumn where this context started
Trait Implementations§
Source§impl Clone for RecoveryPoint
impl Clone for RecoveryPoint
Source§fn clone(&self) -> RecoveryPoint
fn clone(&self) -> RecoveryPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecoveryPoint
impl RefUnwindSafe for RecoveryPoint
impl Send for RecoveryPoint
impl Sync for RecoveryPoint
impl Unpin for RecoveryPoint
impl UnsafeUnpin for RecoveryPoint
impl UnwindSafe for RecoveryPoint
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