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() -> Result<Assigned<F>, Error> + 'v)
    ) -> Result<(), Error>; }
Expand description

Helper trait for implementing a custom Layouter.

This trait is used for implementing table assignments.

Required methods

Assigns a fixed value to a table cell.

Returns an error if the table cell has already been assigned to.

Trait Implementations

Performs the conversion.

Implementors