pub trait CircuitExt<F: Field>: Circuit<F> {
// Required methods
fn num_instance(&self) -> Vec<usize>;
fn instances(&self) -> Vec<Vec<F>>;
// Provided methods
fn accumulator_indices() -> Option<Vec<(usize, usize)>> { ... }
fn selectors(_: &Self::Config) -> Vec<Selector> { ... }
}
Required Methods§
Sourcefn num_instance(&self) -> Vec<usize>
fn num_instance(&self) -> Vec<usize>
Return the number of instances of the circuit. This may depend on extra circuit parameters but NOT on private witnesses.
fn instances(&self) -> Vec<Vec<F>>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.