Trait snarkvm_polycommit::PrepareGadget[][src]

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

Define the minimal interface of prepared allocated structures.

Required methods

Prepare from an unprepared element.

Implementors