Struct AstRoot
pub struct AstRoot(pub Vec<AstDeclaration>);Expand description
The root of the AST, representing the file scope of the translation unit.
Tuple Fields§
§0: Vec<AstDeclaration>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstRoot
impl RefUnwindSafe for AstRoot
impl Send for AstRoot
impl Sync for AstRoot
impl Unpin for AstRoot
impl UnwindSafe for AstRoot
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