Struct libspartan::SNARK[][src]

pub struct SNARK { /* fields omitted */ }
Expand description

SNARK holds a proof produced by Spartan SNARK

Implementations

A public computation to create a commitment to an R1CS instance

A method to produce a SNARK proof of the satisfiability of an R1CS instance

A method to verify the SNARK proof of the satisfiability of an R1CS instance

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Numeric cast from self to T.

Performs the conversion.

Safe lossless bitwise transmute from T to Self.

Numeric cast from T to Self.

Performs the conversion.

Safe lossless bitwise transmute from self to T.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.