pub struct StructureNode { /* private fields */ }Expand description
A node in the structure AST.
Rev.1: Simplified to just id + kind. Name and structural data
are embedded in NodeKind variants. Parent-child relationships
are managed by the StructureAst arena.
Implementations§
Source§impl StructureNode
impl StructureNode
Trait Implementations§
Source§impl Clone for StructureNode
impl Clone for StructureNode
Source§fn clone(&self) -> StructureNode
fn clone(&self) -> StructureNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructureNode
impl Debug for StructureNode
Source§impl PartialEq for StructureNode
impl PartialEq for StructureNode
impl StructuralPartialEq for StructureNode
Auto Trait Implementations§
impl Freeze for StructureNode
impl RefUnwindSafe for StructureNode
impl Send for StructureNode
impl Sync for StructureNode
impl Unpin for StructureNode
impl UnsafeUnpin for StructureNode
impl UnwindSafe for StructureNode
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