Trait halo2_proofs::circuit::layouter::TableLayouter
source · [−]pub trait TableLayouter<F: Field>: Debug {
fn assign_cell<'v>(
&'v mut self,
annotation: &'v (dyn Fn() -> String + 'v),
column: TableColumn,
offset: usize,
to: &'v mut (dyn FnMut() -> Value<Assigned<F>> + 'v)
) -> Result<(), Error>;
}
Expand description
Helper trait for implementing a custom Layouter
.
This trait is used for implementing table assignments.
Required Methods
Trait Implementations
sourceimpl<'r, F: Field> From<&'r mut (dyn TableLayouter<F> + 'r)> for Table<'r, F>
impl<'r, F: Field> From<&'r mut (dyn TableLayouter<F> + 'r)> for Table<'r, F>
sourcefn from(table: &'r mut dyn TableLayouter<F>) -> Self
fn from(table: &'r mut dyn TableLayouter<F>) -> Self
Converts to this type from the input type.