Struct moore_svlog::ast::VarDeclData [−][src]
pub struct VarDeclData<'a> {
pub konst: bool,
pub var: bool,
pub lifetime: Option<Lifetime>,
pub ty: Node<'a, TypeData<'a>>,
pub names: Vec<Node<'a, VarDeclNameData<'a>>, Global>,
}
Expand description
A variable declaration.
For example logic x, y, z
.
Fields
konst: bool
var: bool
lifetime: Option<Lifetime>
ty: Node<'a, TypeData<'a>>
names: Vec<Node<'a, VarDeclNameData<'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 VarDeclData<'a>
impl<'a> Send for VarDeclData<'a>
impl<'a> Sync for VarDeclData<'a>
impl<'a> Unpin for VarDeclData<'a>
impl<'a> !UnwindSafe for VarDeclData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more