Struct kimchi::proof::RecursionChallenge
source · pub struct RecursionChallenge<G>where
G: AffineRepr,{
pub chals: Vec<G::ScalarField>,
pub comm: PolyComm<G>,
}
Expand description
A struct to store the challenges inside a ProverProof
Fields§
§chals: Vec<G::ScalarField>
Vector of scalar field elements
comm: PolyComm<G>
Polynomial commitment
Implementations§
source§impl<G: AffineRepr> RecursionChallenge<G>
impl<G: AffineRepr> RecursionChallenge<G>
Trait Implementations§
source§impl<G> Clone for RecursionChallenge<G>where
G: AffineRepr + Clone,
G::ScalarField: Clone,
impl<G> Clone for RecursionChallenge<G>where G: AffineRepr + Clone, G::ScalarField: Clone,
source§fn clone(&self) -> RecursionChallenge<G>
fn clone(&self) -> RecursionChallenge<G>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de, G> Deserialize<'de> for RecursionChallenge<G>where
G: AffineRepr + CanonicalDeserialize + CanonicalSerialize,
impl<'de, G> Deserialize<'de> for RecursionChallenge<G>where G: AffineRepr + CanonicalDeserialize + CanonicalSerialize,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<G, CamlG, CamlF> From<CamlRecursionChallenge<CamlG, CamlF>> for RecursionChallenge<G>where
G: AffineRepr + From<CamlG>,
G::ScalarField: From<CamlF>,
impl<G, CamlG, CamlF> From<CamlRecursionChallenge<CamlG, CamlF>> for RecursionChallenge<G>where G: AffineRepr + From<CamlG>, G::ScalarField: From<CamlF>,
source§fn from(caml_ch: CamlRecursionChallenge<CamlG, CamlF>) -> RecursionChallenge<G>
fn from(caml_ch: CamlRecursionChallenge<CamlG, CamlF>) -> RecursionChallenge<G>
Converts to this type from the input type.
source§impl<G, CamlG, CamlF> From<RecursionChallenge<G>> for CamlRecursionChallenge<CamlG, CamlF>where
G: AffineRepr,
CamlG: From<G>,
CamlF: From<G::ScalarField>,
impl<G, CamlG, CamlF> From<RecursionChallenge<G>> for CamlRecursionChallenge<CamlG, CamlF>where G: AffineRepr, CamlG: From<G>, CamlF: From<G::ScalarField>,
source§fn from(ch: RecursionChallenge<G>) -> Self
fn from(ch: RecursionChallenge<G>) -> Self
Converts to this type from the input type.
source§impl<G> PartialEq<RecursionChallenge<G>> for RecursionChallenge<G>where
G: AffineRepr + PartialEq,
G::ScalarField: PartialEq,
impl<G> PartialEq<RecursionChallenge<G>> for RecursionChallenge<G>where G: AffineRepr + PartialEq, G::ScalarField: PartialEq,
source§fn eq(&self, other: &RecursionChallenge<G>) -> bool
fn eq(&self, other: &RecursionChallenge<G>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<G> Serialize for RecursionChallenge<G>where
G: AffineRepr + CanonicalDeserialize + CanonicalSerialize,
impl<G> Serialize for RecursionChallenge<G>where G: AffineRepr + CanonicalDeserialize + CanonicalSerialize,
impl<G> StructuralPartialEq for RecursionChallenge<G>where G: AffineRepr,
Auto Trait Implementations§
impl<G> RefUnwindSafe for RecursionChallenge<G>where G: RefUnwindSafe, <G as AffineRepr>::ScalarField: RefUnwindSafe,
impl<G> Send for RecursionChallenge<G>
impl<G> Sync for RecursionChallenge<G>
impl<G> Unpin for RecursionChallenge<G>where G: Unpin, <G as AffineRepr>::ScalarField: Unpin,
impl<G> UnwindSafe for RecursionChallenge<G>where G: UnwindSafe, <G as AffineRepr>::ScalarField: UnwindSafe,
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