Struct reform::structure::LocalVarInfo [−][src]
pub struct LocalVarInfo { pub variables: HashMap<VarName, HashMap<Vec<Element>, Element>>, pub global_variables: HashMap<VarName, Element>, }
Keep track of local state, such as the values for dollar variables.
Fields
variables: HashMap<VarName, HashMap<Vec<Element>, Element>>
global_variables: HashMap<VarName, Element>
Methods
impl LocalVarInfo
[src]
impl LocalVarInfo
pub fn add_dollar(&mut self, dollar: Element, value: Element)
[src]
pub fn add_dollar(&mut self, dollar: Element, value: Element)
pub fn get_dollar_class(
&mut self,
dollar: &Element
) -> Option<&mut HashMap<Vec<Element>, Element>>
[src]
pub fn get_dollar_class(
&mut self,
dollar: &Element
) -> Option<&mut HashMap<Vec<Element>, Element>>
pub fn get_dollar(&self, dollar: &Element) -> Option<&Element>
[src]
pub fn get_dollar(&self, dollar: &Element) -> Option<&Element>
pub fn get_dollar_mut(&mut self, dollar: &Element) -> Option<&mut Element>
[src]
pub fn get_dollar_mut(&mut self, dollar: &Element) -> Option<&mut Element>
pub fn get_dollar_from_name(&mut self, name: u32) -> Option<&mut Element>
[src]
pub fn get_dollar_from_name(&mut self, name: u32) -> Option<&mut Element>
Trait Implementations
impl Debug for LocalVarInfo
[src]
impl Debug for LocalVarInfo
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 LocalVarInfo
[src]
impl Clone for LocalVarInfo
fn clone(&self) -> LocalVarInfo
[src]
fn clone(&self) -> LocalVarInfo
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 LocalVarInfo
impl Send for LocalVarInfo
impl Sync for LocalVarInfo
impl Sync for LocalVarInfo