pub struct NodeLibraryDefinition {
pub name: WithMetaData<NodeTypeNameIdentifier>,
pub definitions: Vec<WithMetaData<NodeLibrarySingleDefinition>>,
}
Expand description
NodeLibraryDefinition represents a library definition node in the AST It contains a name and a vector of definitions
Fields§
§name: WithMetaData<NodeTypeNameIdentifier>
The name of the library definition
definitions: Vec<WithMetaData<NodeLibrarySingleDefinition>>
The definitions of the library definition
Trait Implementations§
Source§impl AstVisitor for NodeLibraryDefinition
impl AstVisitor for NodeLibraryDefinition
fn visit( &self, emitter: &mut dyn AstConverting, ) -> Result<TraversalResult, String>
Source§impl Clone for NodeLibraryDefinition
impl Clone for NodeLibraryDefinition
Source§fn clone(&self) -> NodeLibraryDefinition
fn clone(&self) -> NodeLibraryDefinition
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 NodeLibraryDefinition
impl Debug for NodeLibraryDefinition
Source§impl PartialEq for NodeLibraryDefinition
impl PartialEq for NodeLibraryDefinition
Source§impl PartialOrd for NodeLibraryDefinition
impl PartialOrd for NodeLibraryDefinition
impl Eq for NodeLibraryDefinition
impl StructuralPartialEq for NodeLibraryDefinition
Auto Trait Implementations§
impl Freeze for NodeLibraryDefinition
impl RefUnwindSafe for NodeLibraryDefinition
impl Send for NodeLibraryDefinition
impl Sync for NodeLibraryDefinition
impl Unpin for NodeLibraryDefinition
impl UnwindSafe for NodeLibraryDefinition
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