pub struct ParseOutput {
pub document: Document,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The result of a tolerant parse: the document plus any diagnostics gathered along the way (empty on a clean parse).
Fields§
§document: DocumentThe parsed document tree.
diagnostics: Vec<Diagnostic>Diagnostics collected during parsing.
Trait Implementations§
Source§impl Clone for ParseOutput
impl Clone for ParseOutput
Source§fn clone(&self) -> ParseOutput
fn clone(&self) -> ParseOutput
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 moreSource§impl Debug for ParseOutput
impl Debug for ParseOutput
impl Eq for ParseOutput
Source§impl PartialEq for ParseOutput
impl PartialEq for ParseOutput
Source§fn eq(&self, other: &ParseOutput) -> bool
fn eq(&self, other: &ParseOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseOutput
Auto Trait Implementations§
impl Freeze for ParseOutput
impl RefUnwindSafe for ParseOutput
impl Send for ParseOutput
impl Sync for ParseOutput
impl Unpin for ParseOutput
impl UnsafeUnpin for ParseOutput
impl UnwindSafe for ParseOutput
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