pub trait TableLayouter<F: Field>: Debug {
// Required method
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§
Source§impl<'r, F: Field> From<&'r mut dyn TableLayouter<F>> for Table<'r, F>
impl<'r, F: Field> From<&'r mut dyn TableLayouter<F>> for Table<'r, F>
Source§fn 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.