pub struct Parsed {
pub ast: Ast,
pub diagnostics: Vec<Diagnostic>,
}Expand description
What one parse produced.
Fields§
§ast: AstThe tree, which holds poisoned nodes where the source did not parse.
diagnostics: Vec<Diagnostic>What went wrong, in the order it was found.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
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