Struct kimchi::snarky::api::CompiledCircuit
source · pub struct CompiledCircuit<Circuit>where
Circuit: SnarkyCircuit,{
pub gates: Vec<CircuitGate<<Circuit::Curve as AffineRepr>::ScalarField>>,
/* private fields */
}
Expand description
A compiled circuit.
Fields§
§gates: Vec<CircuitGate<<Circuit::Curve as AffineRepr>::ScalarField>>
The gates obtained after compilation.
Auto Trait Implementations§
impl<Circuit> RefUnwindSafe for CompiledCircuit<Circuit>where Circuit: RefUnwindSafe, <<Circuit as SnarkyCircuit>::Curve as AffineRepr>::ScalarField: RefUnwindSafe,
impl<Circuit> Send for CompiledCircuit<Circuit>where Circuit: Send,
impl<Circuit> Sync for CompiledCircuit<Circuit>where Circuit: Sync,
impl<Circuit> Unpin for CompiledCircuit<Circuit>where Circuit: Unpin, <<Circuit as SnarkyCircuit>::Curve as AffineRepr>::ScalarField: Unpin,
impl<Circuit> UnwindSafe for CompiledCircuit<Circuit>where Circuit: UnwindSafe, <<Circuit as SnarkyCircuit>::Curve as AffineRepr>::ScalarField: UnwindSafe,
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