pub type VariableMeta = VariableMeta<VarId, ScopeId>;
Aliased Type§
pub struct VariableMeta {
pub var: VariableRef<VarId, ScopeId>,
pub num_bits: Option<u32>,
pub variable_type: Option<VariableType>,
pub variable_type_name: Option<String>,
pub index: Option<VariableIndex>,
pub direction: Option<VariableDirection>,
pub enum_map: HashMap<String, String>,
pub encoding: VariableEncoding,
}
Fields§
§var: VariableRef<VarId, ScopeId>
§num_bits: Option<u32>
§variable_type: Option<VariableType>
Type of the variable in the HDL (on a best effort basis).
variable_type_name: Option<String>
Type name of variable, if available
index: Option<VariableIndex>
§direction: Option<VariableDirection>
§enum_map: HashMap<String, String>
§encoding: VariableEncoding
Indicates how the variable is stored. A variable of “type” boolean for example could be stored as a String or as a BitVector.