Trait snarkvm_wasm::PrepareGadget[][src]

pub trait PrepareGadget<Unprepared, F> where
    F: PrimeField
{ fn prepare<CS>(
        cs: CS,
        unprepared: &Unprepared
    ) -> Result<Self, SynthesisError>
    where
        CS: ConstraintSystem<F>
; }
Expand description

Define the minimal interface of prepared allocated structures.

Required methods

Prepare from an unprepared element.

Implementors