pub struct NodeComponentBody {
pub statement_block: Option<WithMetaData<NodeStatementBlock>>,
}
Expand description
NodeComponentBody represents a component body node in the AST It contains an optional statement block
Fields§
§statement_block: Option<WithMetaData<NodeStatementBlock>>
The statement block of the component body
Trait Implementations§
Source§impl AstVisitor for NodeComponentBody
impl AstVisitor for NodeComponentBody
fn visit( &self, emitter: &mut dyn AstConverting, ) -> Result<TraversalResult, String>
Source§impl Clone for NodeComponentBody
impl Clone for NodeComponentBody
Source§fn clone(&self) -> NodeComponentBody
fn clone(&self) -> NodeComponentBody
Returns a copy 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 NodeComponentBody
impl Debug for NodeComponentBody
Source§impl PartialEq for NodeComponentBody
impl PartialEq for NodeComponentBody
Source§impl PartialOrd for NodeComponentBody
impl PartialOrd for NodeComponentBody
impl Eq for NodeComponentBody
impl StructuralPartialEq for NodeComponentBody
Auto Trait Implementations§
impl Freeze for NodeComponentBody
impl RefUnwindSafe for NodeComponentBody
impl Send for NodeComponentBody
impl Sync for NodeComponentBody
impl Unpin for NodeComponentBody
impl UnwindSafe for NodeComponentBody
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