Struct moore_svlog::ast::ModuleData [−][src]
pub struct ModuleData<'a> {
pub lifetime: Lifetime,
pub name: Spanned<Name>,
pub imports: Vec<Node<'a, ImportDeclData<'a>>, Global>,
pub params: Vec<Node<'a, ParamDeclData<'a>>, Global>,
pub ports: Vec<Node<'a, PortData<'a>>, Global>,
pub items: Vec<Node<'a, ItemData<'a>>, Global>,
}
Expand description
A module.
Fields
lifetime: Lifetime
name: Spanned<Name>
imports: Vec<Node<'a, ImportDeclData<'a>>, Global>
params: Vec<Node<'a, ParamDeclData<'a>>, Global>
ports: Vec<Node<'a, PortData<'a>>, Global>
items: Vec<Node<'a, ItemData<'a>>, Global>
Trait Implementations
Get this node’s name, or None
if it does not have one.
Describe this node for diagnostics in indefinite form, e.g. “entity”. Read more
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Apply a function to each child node.
Apply a function to this node.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ModuleData<'a>
impl<'a> Send for ModuleData<'a>
impl<'a> Sync for ModuleData<'a>
impl<'a> Unpin for ModuleData<'a>
impl<'a> !UnwindSafe for ModuleData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more