Struct circomspect_program_structure::intermediate_representation::variable_meta::VariableUse   
source · pub struct VariableUse { /* private fields */ }Expand description
A variable use (a variable, component or signal read or write).
Implementations§
source§impl VariableUse
 
impl VariableUse
pub fn new( meta: &Meta, name: &VariableName, access: &[AccessType] ) -> VariableUse
pub fn meta(&self) -> &Meta
pub fn name(&self) -> &VariableName
pub fn access(&self) -> &Vec<AccessType>
Trait Implementations§
source§impl Clone for VariableUse
 
impl Clone for VariableUse
source§fn clone(&self) -> VariableUse
 
fn clone(&self) -> VariableUse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Display for VariableUse
 
impl Display for VariableUse
source§impl Hash for VariableUse
 
impl Hash for VariableUse
source§impl PartialEq<VariableUse> for VariableUse
 
impl PartialEq<VariableUse> for VariableUse
source§fn eq(&self, other: &VariableUse) -> bool
 
fn eq(&self, other: &VariableUse) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.