pub struct Context<'a, G: KimchiCurve, OpeningProof: OpenProof<G>> {
pub verifier_index: &'a VerifierIndex<G, OpeningProof>,
pub proof: &'a ProverProof<G, OpeningProof>,
pub public_input: &'a [G::ScalarField],
}
Fields§
§verifier_index: &'a VerifierIndex<G, OpeningProof>
The VerifierIndex associated to the proof
proof: &'a ProverProof<G, OpeningProof>
The proof to verify
public_input: &'a [G::ScalarField]
The public input used in the creation of the proof
Implementations§
source§impl<'a, G: KimchiCurve, OpeningProof: OpenProof<G>> Context<'a, G, OpeningProof>
impl<'a, G: KimchiCurve, OpeningProof: OpenProof<G>> Context<'a, G, OpeningProof>
pub fn get_column(&self, col: Column) -> Option<&'a PolyComm<G>>
Trait Implementations§
Auto Trait Implementations§
impl<'a, G, OpeningProof> RefUnwindSafe for Context<'a, G, OpeningProof>where G: RefUnwindSafe, OpeningProof: RefUnwindSafe, <OpeningProof as OpenProof<G>>::SRS: RefUnwindSafe, <G as AffineRepr>::ScalarField: UnwindSafe + RefUnwindSafe,
impl<'a, G, OpeningProof> Send for Context<'a, G, OpeningProof>where OpeningProof: Sync, <OpeningProof as OpenProof<G>>::SRS: Send + Sync,
impl<'a, G, OpeningProof> Sync for Context<'a, G, OpeningProof>where OpeningProof: Sync, <OpeningProof as OpenProof<G>>::SRS: Send + Sync,
impl<'a, G, OpeningProof> Unpin for Context<'a, G, OpeningProof>
impl<'a, G, OpeningProof> UnwindSafe for Context<'a, G, OpeningProof>where G: RefUnwindSafe, OpeningProof: RefUnwindSafe, <OpeningProof as OpenProof<G>>::SRS: RefUnwindSafe, <G as AffineRepr>::ScalarField: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more