Struct reform::structure::GlobalVarInfo [−][src]
pub struct GlobalVarInfo { pub func_attribs: HashMap<VarName, Vec<FunctionAttributes>>, pub user_functions: HashMap<VarName, (Vec<VarName>, Element)>, pub log_level: usize, // some fields omitted }
Keeps track of global state that is immutable during execution.
Fields
func_attribs: HashMap<VarName, Vec<FunctionAttributes>>
user_functions: HashMap<VarName, (Vec<VarName>, Element)>
log_level: usize
Methods
impl GlobalVarInfo
[src]
impl GlobalVarInfo
pub fn empty() -> GlobalVarInfo
[src]
pub fn empty() -> GlobalVarInfo
pub fn num_vars(&self) -> usize
[src]
pub fn num_vars(&self) -> usize
pub fn get_name(&self, var: VarName) -> &str
[src]
pub fn get_name(&self, var: VarName) -> &str
Trait Implementations
impl Debug for GlobalVarInfo
[src]
impl Debug for GlobalVarInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GlobalVarInfo
[src]
impl Clone for GlobalVarInfo
fn clone(&self) -> GlobalVarInfo
[src]
fn clone(&self) -> GlobalVarInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for GlobalVarInfo
impl Send for GlobalVarInfo
impl Sync for GlobalVarInfo
impl Sync for GlobalVarInfo