Struct moore_svlog_syntax::ast::VarDeclData [−][src]
pub struct VarDeclData<'a> {
pub konst: bool,
pub var: bool,
pub lifetime: Option<Lifetime>,
pub ty: Type<'a>,
pub names: Vec<VarDeclName<'a>>,
}Expand description
A variable declaration.
For example logic x, y, z.
Fields
konst: boolvar: boollifetime: Option<Lifetime>ty: Type<'a>names: Vec<VarDeclName<'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 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