pub type Halo2AssignedCell<'v, F> = AssignedCell<&'v Assigned<F>, F>;
Expand description
Raw (physical) assigned cell in Plonkish arithmetization.
Aliased Type§
struct Halo2AssignedCell<'v, F> { /* private fields */ }
Implementations
Source§impl<'v, F> AssignedCell<&'v Assigned<F>, F>where
F: Field,
impl<'v, F> AssignedCell<&'v Assigned<F>, F>where
F: Field,
Sourcepub fn copy_advice(
&self,
region: &mut Region<'_, F>,
column: Column<Advice>,
offset: usize,
) -> AssignedCell<&Assigned<F>, F>
pub fn copy_advice( &self, region: &mut Region<'_, F>, column: Column<Advice>, offset: usize, ) -> AssignedCell<&Assigned<F>, F>
Copies the value to a given advice cell and constrains them to be equal.
Returns an error if either this cell or the given cell are in columns where equality has not been enabled.
Source§impl<V, F> AssignedCell<V, F>where
F: Field,
impl<V, F> AssignedCell<V, F>where
F: Field,
Source§impl<V, F> AssignedCell<V, F>
impl<V, F> AssignedCell<V, F>
Sourcepub fn value_field(&self) -> Value<Assigned<F>>
pub fn value_field(&self) -> Value<Assigned<F>>
Returns the field element value of the AssignedCell
.
Trait Implementations
Source§impl<V, F> Clone for AssignedCell<V, F>
impl<V, F> Clone for AssignedCell<V, F>
Source§fn clone(&self) -> AssignedCell<V, F>
fn clone(&self) -> AssignedCell<V, F>
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 more