pub struct ParseReport {
pub normalized: NormalizedMarkdown,
pub diagnostics: Vec<ParseDiagnostic>,
pub complete: bool,
}Expand description
The outcome of a recovering parse: whatever output could be produced, explicit diagnostics, and whether the output is complete (loss-free).
Fields§
§normalized: NormalizedMarkdownNormalized output produced before (or without) failure. Empty when parsing could not proceed at all.
diagnostics: Vec<ParseDiagnostic>Every recovered error or loss event encountered.
complete: boolTrue only when no loss or error occurred.
Trait Implementations§
Source§impl Clone for ParseReport
impl Clone for ParseReport
Auto Trait Implementations§
impl Freeze for ParseReport
impl RefUnwindSafe for ParseReport
impl Send for ParseReport
impl Sync for ParseReport
impl Unpin for ParseReport
impl UnsafeUnpin for ParseReport
impl UnwindSafe for ParseReport
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