pub struct LosslessParseOutput {
pub document: Option<Document>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Output of syntactic parsing into the lossless source model.
Fields§
§document: Option<Document>Lossless document, present only when lexical and syntax parsing succeeds.
diagnostics: Vec<Diagnostic>Lexical and syntax diagnostics.
Trait Implementations§
Source§impl Clone for LosslessParseOutput
impl Clone for LosslessParseOutput
Source§fn clone(&self) -> LosslessParseOutput
fn clone(&self) -> LosslessParseOutput
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 LosslessParseOutput
impl Debug for LosslessParseOutput
impl Eq for LosslessParseOutput
Source§impl PartialEq for LosslessParseOutput
impl PartialEq for LosslessParseOutput
impl StructuralPartialEq for LosslessParseOutput
Auto Trait Implementations§
impl Freeze for LosslessParseOutput
impl RefUnwindSafe for LosslessParseOutput
impl Send for LosslessParseOutput
impl Sync for LosslessParseOutput
impl Unpin for LosslessParseOutput
impl UnsafeUnpin for LosslessParseOutput
impl UnwindSafe for LosslessParseOutput
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