Struct moore_vhdl::hir::VarDecl [] [src]

pub struct VarDecl {
    pub shared: bool,
    pub ty: SubtypeIndRef,
    pub init: Option<ExprRef>,
}

A variable declaration.

See IEEE 1076-2008 section 6.4.2.4.

Fields

Whether the variable was declared as shared or not.

The subtype of the variable.

The optional initial value for the variable.

Trait Implementations

impl Debug for VarDecl
[src]

[src]

Formats the value using the given formatter.