pub struct ParsedAst {
pub tree: Tree,
pub source: String,
pub language: Language,
pub root_node: AstNode,
}
Expand description
Parsed AST with metadata
Fields§
§tree: Tree
§source: String
§language: Language
§root_node: AstNode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedAst
impl RefUnwindSafe for ParsedAst
impl Send for ParsedAst
impl Sync for ParsedAst
impl Unpin for ParsedAst
impl UnwindSafe for ParsedAst
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