[][src]Struct snarkos_algorithms::snark::groth16::snark::Groth16

pub struct Groth16<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::Fr> + ?Sized> { /* fields omitted */ }

Note: V should serialize its contents to Vec<E::Fr> in the same order as during the constraint generation.

Trait Implementations

impl<E: Clone + PairingEngine, C: Clone + ConstraintSynthesizer<E::Fr>, V: Clone + ToConstraintField<E::Fr> + ?Sized> Clone for Groth16<E, C, V>[src]

impl<E: Debug + PairingEngine, C: Debug + ConstraintSynthesizer<E::Fr>, V: Debug + ToConstraintField<E::Fr> + ?Sized> Debug for Groth16<E, C, V>[src]

impl<E: Eq + PairingEngine, C: Eq + ConstraintSynthesizer<E::Fr>, V: Eq + ToConstraintField<E::Fr> + ?Sized> Eq for Groth16<E, C, V>[src]

impl<E: PartialEq + PairingEngine, C: PartialEq + ConstraintSynthesizer<E::Fr>, V: PartialEq + ToConstraintField<E::Fr> + ?Sized> PartialEq<Groth16<E, C, V>> for Groth16<E, C, V>[src]

impl<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::Fr> + ?Sized> SNARK for Groth16<E, C, V>[src]

type AssignedCircuit = C

type Circuit = C

type PreparedVerificationParameters = PreparedVerifyingKey<E>

type Proof = Proof<E>

type ProvingParameters = Parameters<E>

type VerificationParameters = VerifyingKey<E>

type VerifierInput = V

impl<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::Fr> + ?Sized> StructuralEq for Groth16<E, C, V>[src]

impl<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::Fr> + ?Sized> StructuralPartialEq for Groth16<E, C, V>[src]

Auto Trait Implementations

impl<E, C, V: ?Sized> RefUnwindSafe for Groth16<E, C, V> where
    C: RefUnwindSafe,
    E: RefUnwindSafe,
    V: RefUnwindSafe

impl<E, C, V: ?Sized> Send for Groth16<E, C, V> where
    C: Send,
    V: Send

impl<E, C, V: ?Sized> Sync for Groth16<E, C, V> where
    C: Sync,
    V: Sync

impl<E, C, V: ?Sized> Unpin for Groth16<E, C, V> where
    C: Unpin,
    E: Unpin,
    V: Unpin

impl<E, C, V: ?Sized> UnwindSafe for Groth16<E, C, V> where
    C: UnwindSafe,
    E: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,