Struct moore_svlog::ast::VarDeclNameData [−][src]
pub struct VarDeclNameData<'a> {
pub name: Name,
pub name_span: Span,
pub dims: Vec<TypeDim<'a>, Global>,
pub init: Option<Node<'a, ExprData<'a>>>,
}
Expand description
A variable or net declaration name.
For example the x
in logic x, y, z
.
Fields
name: Name
name_span: Span
dims: Vec<TypeDim<'a>, Global>
init: Option<Node<'a, ExprData<'a>>>
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 VarDeclNameData<'a>
impl<'a> Send for VarDeclNameData<'a>
impl<'a> Sync for VarDeclNameData<'a>
impl<'a> Unpin for VarDeclNameData<'a>
impl<'a> !UnwindSafe for VarDeclNameData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more