[−][src]Struct fawkes_crypto_phase2::circom_circuit::CircomCircuit
Fields
num_inputs: usize
num_aux: usize
num_constraints: usize
witness: Option<Vec<E::Fr>>
constraints: Vec<(Vec<(usize, E::Fr)>, Vec<(usize, E::Fr)>, Vec<(usize, E::Fr)>)>
Implementations
impl<'a, E: Engine> CircomCircuit<E>
[src]
pub fn get_public_inputs(&self) -> Option<Vec<E::Fr>>
[src]
pub fn get_public_inputs_json(&self) -> String
[src]
Trait Implementations
impl<'a, E: Engine> Circuit<E> for CircomCircuit<E>
[src]
Our demo circuit implements this Circuit
trait which
is used during paramgen and proving in order to
synthesize the constraint system.
fn synthesize<CS: ConstraintSystem<E>>(
self,
cs: &mut CS
) -> Result<(), SynthesisError>
[src]
self,
cs: &mut CS
) -> Result<(), SynthesisError>
impl<E: Clone + Engine> Clone for CircomCircuit<E> where
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
[src]
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
fn clone(&self) -> CircomCircuit<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for CircomCircuit<E> where
<E as ScalarEngine>::Fr: RefUnwindSafe,
<E as ScalarEngine>::Fr: RefUnwindSafe,
impl<E> Send for CircomCircuit<E> where
<E as ScalarEngine>::Fr: Send,
<E as ScalarEngine>::Fr: Send,
impl<E> Sync for CircomCircuit<E> where
<E as ScalarEngine>::Fr: Sync,
<E as ScalarEngine>::Fr: Sync,
impl<E> Unpin for CircomCircuit<E> where
<E as ScalarEngine>::Fr: Unpin,
<E as ScalarEngine>::Fr: Unpin,
impl<E> UnwindSafe for CircomCircuit<E> where
<E as ScalarEngine>::Fr: UnwindSafe,
<E as ScalarEngine>::Fr: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,