snark_verifier::pcs

Trait AccumulatorEncoding

Source
pub trait AccumulatorEncoding<C, L>: Clone + Debug
where C: CurveAffine, L: Loader<C>,
{ type Accumulator: Clone + Debug; // Required method fn from_repr(repr: &[&L::LoadedScalar]) -> Result<Self::Accumulator, Error>; }
Expand description

Accumulator encoding.

Required Associated Types§

Source

type Accumulator: Clone + Debug

Accumulator to be encoded.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<C, L, PCS> AccumulatorEncoding<C, L> for PhantomData<PCS>
where C: CurveAffine, L: Loader<C>, PCS: PolynomialCommitmentScheme<C, L>,

Implementors§

Source§

impl<C, EccChip, const LIMBS: usize, const BITS: usize> AccumulatorEncoding<C, Rc<Halo2Loader<C, EccChip>>> for LimbsEncoding<LIMBS, BITS>
where C: CurveAffine, EccChip: LimbsEncodingInstructions<C, LIMBS, BITS>,

Source§

impl<C, const LIMBS: usize, const BITS: usize> AccumulatorEncoding<C, NativeLoader> for LimbsEncoding<LIMBS, BITS>
where C: CurveAffine,

Source§

impl<C, const LIMBS: usize, const BITS: usize> AccumulatorEncoding<C, Rc<EvmLoader>> for LimbsEncoding<LIMBS, BITS>
where C: CurveAffine, C::Scalar: PrimeField<Repr = [u8; 32]>,