Struct air_ir::PublicInputAccess
source · pub struct PublicInputAccess {
pub name: Identifier,
pub index: usize,
}
Expand description
Represents an access of a PublicInput, similar in nature to TraceAccess
Fields§
§name: Identifier
The name of the public input to access
index: usize
The index of the element in the public input to access
Implementations§
source§impl PublicInputAccess
impl PublicInputAccess
pub const fn new(name: Identifier, index: usize) -> Self
Trait Implementations§
source§impl Clone for PublicInputAccess
impl Clone for PublicInputAccess
source§fn clone(&self) -> PublicInputAccess
fn clone(&self) -> PublicInputAccess
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 Debug for PublicInputAccess
impl Debug for PublicInputAccess
source§impl PartialEq<PublicInputAccess> for PublicInputAccess
impl PartialEq<PublicInputAccess> for PublicInputAccess
source§fn eq(&self, other: &PublicInputAccess) -> bool
fn eq(&self, other: &PublicInputAccess) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PublicInputAccess
impl Eq for PublicInputAccess
impl StructuralEq for PublicInputAccess
impl StructuralPartialEq for PublicInputAccess
Auto Trait Implementations§
impl RefUnwindSafe for PublicInputAccess
impl Send for PublicInputAccess
impl Sync for PublicInputAccess
impl Unpin for PublicInputAccess
impl UnwindSafe for PublicInputAccess
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.