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
sourceimpl 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
sourceimpl Clone for VariableUse
impl Clone for VariableUse
sourcefn clone(&self) -> VariableUse
fn clone(&self) -> VariableUse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Display for VariableUse
impl Display for VariableUse
sourceimpl Hash for VariableUse
impl Hash for VariableUse
sourceimpl PartialEq<VariableUse> for VariableUse
impl PartialEq<VariableUse> for VariableUse
sourcefn 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 ==. Read more
impl Eq for VariableUse
impl StructuralEq for VariableUse
impl StructuralPartialEq for VariableUse
Auto Trait Implementations
impl RefUnwindSafe for VariableUse
impl Send for VariableUse
impl Sync for VariableUse
impl Unpin for VariableUse
impl UnwindSafe for VariableUse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more