Skip to main content

PCPreparedCommitment

Trait PCPreparedCommitment 

Source
pub trait PCPreparedCommitment<UNPREPARED: PCCommitment>: Clone {
    // Required method
    fn prepare(comm: &UNPREPARED) -> Self;
}
Expand description

Defines the minimal interface of prepared commitments for any polynomial commitment scheme.

Required Methods§

Source

fn prepare(comm: &UNPREPARED) -> Self

prepare

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E: Pairing> PCPreparedCommitment<Commitment<E>> for ark_poly_commit::marlin::marlin_pc::PreparedCommitment<E>

Source§

impl<E: Pairing> PCPreparedCommitment<Commitment<E>> for ark_poly_commit::sonic_pc::PreparedCommitment<E>

Source§

impl<G: AffineRepr> PCPreparedCommitment<Commitment<G>> for ark_poly_commit::ipa_pc::PreparedCommitment<G>