pub trait VirtualRegionManager<F: Field> {
type Config: Clone;
type Assignment = ();
// Required method
fn assign_raw(
&self,
config: &Self::Config,
region: &mut Region<'_, F>,
) -> Self::Assignment;
}
Expand description
A virtual region manager is responsible for managing a virtual region and assigning the virtual region to a physical Halo2 region.
Required Associated Types§
Provided Associated Types§
Sourcetype Assignment = ()
type Assignment = ()
Return type of the assign_raw
method. Default is ()
.
Required Methods§
Sourcefn assign_raw(
&self,
config: &Self::Config,
region: &mut Region<'_, F>,
) -> Self::Assignment
fn assign_raw( &self, config: &Self::Config, region: &mut Region<'_, F>, ) -> Self::Assignment
Assign virtual region this is in charge of to the raw region described by config
.