pub struct SemanticsNode {
pub node_id: NodeId,
pub role: SemanticsRole,
pub actions: Vec<SemanticsAction>,
pub children: Vec<SemanticsNode>,
pub description: Option<String>,
}Expand description
A single node within the semantics tree.
Fields§
§node_id: NodeId§role: SemanticsRole§actions: Vec<SemanticsAction>§children: Vec<SemanticsNode>§description: Option<String>Trait Implementations§
Source§impl Clone for SemanticsNode
impl Clone for SemanticsNode
Source§fn clone(&self) -> SemanticsNode
fn clone(&self) -> SemanticsNode
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 moreAuto Trait Implementations§
impl Freeze for SemanticsNode
impl RefUnwindSafe for SemanticsNode
impl Send for SemanticsNode
impl Sync for SemanticsNode
impl Unpin for SemanticsNode
impl UnwindSafe for SemanticsNode
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