pub struct TestingAssembly<E: Engine> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<E: Engine> ConstraintSystem<E> for TestingAssembly<E>
impl<E: Engine> ConstraintSystem<E> for TestingAssembly<E>
fn alloc<F>(&mut self, value: F) -> Result<Variable, SynthesisError>
fn alloc_input<F>(&mut self, value: F) -> Result<Variable, SynthesisError>
fn enforce_boolean(&mut self, variable: Variable) -> Result<(), SynthesisError>
fn new_gate( &mut self, variables: (Variable, Variable, Variable), coeffs: (E::Fr, E::Fr, E::Fr, E::Fr, E::Fr), ) -> Result<(), SynthesisError>
fn enforce_constant( &mut self, variable: Variable, constant: E::Fr, ) -> Result<(), SynthesisError>
fn enforce_mul_2( &mut self, variables: (Variable, Variable), ) -> Result<(), SynthesisError>
fn enforce_mul_3( &mut self, variables: (Variable, Variable, Variable), ) -> Result<(), SynthesisError>
fn enforce_zero_2( &mut self, variables: (Variable, Variable), coeffs: (E::Fr, E::Fr), ) -> Result<(), SynthesisError>
fn enforce_zero_3( &mut self, variables: (Variable, Variable, Variable), coeffs: (E::Fr, E::Fr, E::Fr), ) -> Result<(), SynthesisError>
fn get_dummy_variable(&self) -> Variable
fn get_value(&self, _variable: Variable) -> Result<E::Fr, SynthesisError>
Auto Trait Implementations§
impl<E> Freeze for TestingAssembly<E>
impl<E> RefUnwindSafe for TestingAssembly<E>
impl<E> Send for TestingAssembly<E>
impl<E> Sync for TestingAssembly<E>
impl<E> Unpin for TestingAssembly<E>
impl<E> UnwindSafe for TestingAssembly<E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more