pub enum Target {
Main,
Chiplet(usize),
}Expand description
Selects which trace a mutation operates on.
Variants§
Implementations§
Source§impl Target
impl Target
Sourcepub fn resolve_mut<'w, F: TowerField>(
&self,
witness: &'w mut ProgramWitness<F, ColumnTrace>,
) -> &'w mut ColumnTrace
pub fn resolve_mut<'w, F: TowerField>( &self, witness: &'w mut ProgramWitness<F, ColumnTrace>, ) -> &'w mut ColumnTrace
Borrows the underlying
ColumnTrace this target selects.
§Panics
Panics if Chiplet(idx) is out of
range for the witness’s chiplet table.
Sourcepub fn resolve<'w, F: TowerField>(
&self,
witness: &'w ProgramWitness<F, ColumnTrace>,
) -> &'w ColumnTrace
pub fn resolve<'w, F: TowerField>( &self, witness: &'w ProgramWitness<F, ColumnTrace>, ) -> &'w ColumnTrace
Immutable counterpart to
resolve_mut.
§Panics
Panics if Chiplet(idx) is out of
range for the witness’s chiplet table.
Trait Implementations§
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.