pub struct AstNode {
pub content: AstNodeContent,
pub span: Span,
}
Expand description
Fields
content: AstNodeContent
The content of this ast node, which could be any control flow structure or other basic organizational component.
span: Span
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AstNode
impl Send for AstNode
impl Sync for AstNode
impl Unpin for AstNode
impl UnwindSafe for AstNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more