pub struct Parsed {
pub ast: Ast,
pub diagnostics: Vec<Diagnostic>,
pub comments: Vec<Comment>,
}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.
comments: Vec<Comment>What the unit’s #pragma comment lines ask the linker for, in the order they were
written.
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