Struct cairo_lang_parser::parser::PendingParserDiagnostic
source · pub struct PendingParserDiagnostic {
pub span: TextSpan,
pub kind: ParserDiagnosticKind,
pub leading_trivia_start: TextOffset,
pub trailing_trivia_end: TextOffset,
}
Expand description
A parser diagnostic that is not yet reported as it is accumulated with similar consecutive diagnostics.
Fields§
§span: TextSpan
§kind: ParserDiagnosticKind
§leading_trivia_start: TextOffset
§trailing_trivia_end: TextOffset
Auto Trait Implementations§
impl Freeze for PendingParserDiagnostic
impl RefUnwindSafe for PendingParserDiagnostic
impl Send for PendingParserDiagnostic
impl Sync for PendingParserDiagnostic
impl Unpin for PendingParserDiagnostic
impl UnwindSafe for PendingParserDiagnostic
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