[−][src]Struct snarkos_gadgets::algorithms::snark::gm17::GM17ProofGadget
Fields
a: P::G1Gadget
b: P::G2Gadget
c: P::G1Gadget
Trait Implementations
impl<Pairing: PairingEngine, F: Field, P: PairingGadget<Pairing, F>> AllocBytesGadget<Vec<u8>, F> for GM17ProofGadget<Pairing, F, P>
[src]
fn alloc_bytes<FN, T, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: FN
) -> Result<Self, SynthesisError> where
FN: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<Vec<u8>>,
[src]
cs: CS,
value_gen: FN
) -> Result<Self, SynthesisError> where
FN: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<Vec<u8>>,
fn alloc_input_bytes<FN, T, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: FN
) -> Result<Self, SynthesisError> where
FN: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<Vec<u8>>,
[src]
cs: CS,
value_gen: FN
) -> Result<Self, SynthesisError> where
FN: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<Vec<u8>>,
fn alloc_bytes_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
fn alloc_input_bytes_checked<Fn, T, CS>(
cs: CS,
f: Fn
) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
cs: CS,
f: Fn
) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
impl<Pairing: PairingEngine, F: Field, P: PairingGadget<Pairing, F>> AllocGadget<Proof<Pairing>, F> for GM17ProofGadget<Pairing, F, P>
[src]
fn alloc<Fn: FnOnce() -> Result<T, SynthesisError>, T: Borrow<Proof<Pairing>>, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
[src]
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
fn alloc_input<Fn: FnOnce() -> Result<T, SynthesisError>, T: Borrow<Proof<Pairing>>, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
[src]
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
fn alloc_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
fn alloc_input_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
impl<PairingE: PairingEngine, F: Field, P: PairingGadget<PairingE, F>> Clone for GM17ProofGadget<PairingE, F, P> where
P::G1Gadget: Clone,
P::G2Gadget: Clone,
[src]
P::G1Gadget: Clone,
P::G2Gadget: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<PairingE, F, P> RefUnwindSafe for GM17ProofGadget<PairingE, F, P> where
<P as PairingGadget<PairingE, F>>::G1Gadget: RefUnwindSafe,
<P as PairingGadget<PairingE, F>>::G2Gadget: RefUnwindSafe,
<P as PairingGadget<PairingE, F>>::G1Gadget: RefUnwindSafe,
<P as PairingGadget<PairingE, F>>::G2Gadget: RefUnwindSafe,
impl<PairingE, F, P> Send for GM17ProofGadget<PairingE, F, P> where
<P as PairingGadget<PairingE, F>>::G1Gadget: Send,
<P as PairingGadget<PairingE, F>>::G2Gadget: Send,
<P as PairingGadget<PairingE, F>>::G1Gadget: Send,
<P as PairingGadget<PairingE, F>>::G2Gadget: Send,
impl<PairingE, F, P> Sync for GM17ProofGadget<PairingE, F, P> where
<P as PairingGadget<PairingE, F>>::G1Gadget: Sync,
<P as PairingGadget<PairingE, F>>::G2Gadget: Sync,
<P as PairingGadget<PairingE, F>>::G1Gadget: Sync,
<P as PairingGadget<PairingE, F>>::G2Gadget: Sync,
impl<PairingE, F, P> Unpin for GM17ProofGadget<PairingE, F, P> where
<P as PairingGadget<PairingE, F>>::G1Gadget: Unpin,
<P as PairingGadget<PairingE, F>>::G2Gadget: Unpin,
<P as PairingGadget<PairingE, F>>::G1Gadget: Unpin,
<P as PairingGadget<PairingE, F>>::G2Gadget: Unpin,
impl<PairingE, F, P> UnwindSafe for GM17ProofGadget<PairingE, F, P> where
<P as PairingGadget<PairingE, F>>::G1Gadget: UnwindSafe,
<P as PairingGadget<PairingE, F>>::G2Gadget: UnwindSafe,
<P as PairingGadget<PairingE, F>>::G1Gadget: UnwindSafe,
<P as PairingGadget<PairingE, F>>::G2Gadget: 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,