pub struct ParsingContext<'c, 'p, 'a, 's, 'f> {
pub config: &'c ParserConfig,
pub span: &'p ParseSpan<'a, 's, 'f>,
}
Fields
config: &'c ParserConfig
span: &'p ParseSpan<'a, 's, 'f>
Implementations
sourceimpl<'c, 'p, 'a, 's, 'f> ParsingContext<'c, 'p, 'a, 's, 'f>
impl<'c, 'p, 'a, 's, 'f> ParsingContext<'c, 'p, 'a, 's, 'f>
pub fn with_different_span(&self, new_span: &'p ParseSpan<'a, 's, 'f>) -> Self
pub fn get_line_context_with_span(
&self,
line: &'p LineSpan<'s, 'f>
) -> LineParsingContext<'c, 'p, 's, 'f>
Auto Trait Implementations
impl<'c, 'p, 'a, 's, 'f> RefUnwindSafe for ParsingContext<'c, 'p, 'a, 's, 'f>
impl<'c, 'p, 'a, 's, 'f> Send for ParsingContext<'c, 'p, 'a, 's, 'f>
impl<'c, 'p, 'a, 's, 'f> Sync for ParsingContext<'c, 'p, 'a, 's, 'f>
impl<'c, 'p, 'a, 's, 'f> Unpin for ParsingContext<'c, 'p, 'a, 's, 'f> where
'a: 'p,
'f: 'p,
's: 'p,
impl<'c, 'p, 'a, 's, 'f> UnwindSafe for ParsingContext<'c, 'p, 'a, 's, 'f>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more