Struct kimchi::prover::caml::CamlProverCommitments
source · pub struct CamlProverCommitments<CamlG> {
pub w_comm: (CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>),
pub z_comm: CamlPolyComm<CamlG>,
pub t_comm: CamlPolyComm<CamlG>,
pub lookup: Option<CamlLookupCommitments<CamlG>>,
}
Fields§
§w_comm: (CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>)
§z_comm: CamlPolyComm<CamlG>
§t_comm: CamlPolyComm<CamlG>
§lookup: Option<CamlLookupCommitments<CamlG>>
Trait Implementations§
source§impl<CamlG: Clone> Clone for CamlProverCommitments<CamlG>
impl<CamlG: Clone> Clone for CamlProverCommitments<CamlG>
source§fn clone(&self) -> CamlProverCommitments<CamlG>
fn clone(&self) -> CamlProverCommitments<CamlG>
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<G, CamlG> From<CamlProverCommitments<CamlG>> for ProverCommitments<G>where
G: AffineRepr,
PolyComm<G>: From<CamlPolyComm<CamlG>>,
impl<G, CamlG> From<CamlProverCommitments<CamlG>> for ProverCommitments<G>where G: AffineRepr, PolyComm<G>: From<CamlPolyComm<CamlG>>,
source§fn from(caml_prover_comm: CamlProverCommitments<CamlG>) -> ProverCommitments<G>
fn from(caml_prover_comm: CamlProverCommitments<CamlG>) -> ProverCommitments<G>
Converts to this type from the input type.
source§impl<G, CamlG> From<ProverCommitments<G>> for CamlProverCommitments<CamlG>where
G: AffineRepr,
CamlPolyComm<CamlG>: From<PolyComm<G>>,
impl<G, CamlG> From<ProverCommitments<G>> for CamlProverCommitments<CamlG>where G: AffineRepr, CamlPolyComm<CamlG>: From<PolyComm<G>>,
source§fn from(prover_comm: ProverCommitments<G>) -> Self
fn from(prover_comm: ProverCommitments<G>) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlProverCommitments<CamlG>where
(CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>): FromValue<'from_value_lifetime>,
CamlG: FromValue<'from_value_lifetime>,
CamlPolyComm<CamlG>: FromValue<'from_value_lifetime>,
Option<CamlLookupCommitments<CamlG>>: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlG> FromValue<'from_value_lifetime> for CamlProverCommitments<CamlG>where (CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>): FromValue<'from_value_lifetime>, CamlG: FromValue<'from_value_lifetime>, CamlPolyComm<CamlG>: FromValue<'from_value_lifetime>, Option<CamlLookupCommitments<CamlG>>: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<CamlG> IntoValue for CamlProverCommitments<CamlG>where
(CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>): IntoValue,
CamlG: IntoValue,
CamlPolyComm<CamlG>: IntoValue,
Option<CamlLookupCommitments<CamlG>>: IntoValue,
impl<CamlG> IntoValue for CamlProverCommitments<CamlG>where (CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>, CamlPolyComm<CamlG>): IntoValue, CamlG: IntoValue, CamlPolyComm<CamlG>: IntoValue, Option<CamlLookupCommitments<CamlG>>: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<CamlG> OCamlBinding for CamlProverCommitments<CamlG>where
CamlG: OCamlDesc,
impl<CamlG> OCamlBinding for CamlProverCommitments<CamlG>where CamlG: OCamlDesc,
source§impl<CamlG> OCamlDesc for CamlProverCommitments<CamlG>where
CamlG: OCamlDesc,
impl<CamlG> OCamlDesc for CamlProverCommitments<CamlG>where CamlG: OCamlDesc,
source§fn ocaml_desc(env: &Env, generics: &[&str]) -> String
fn ocaml_desc(env: &Env, generics: &[&str]) -> String
describes the type in OCaml, given the current environment [Env]
and the list of generic type parameters of the root type
(the type that makes use of this type)
Auto Trait Implementations§
impl<CamlG> RefUnwindSafe for CamlProverCommitments<CamlG>where CamlG: RefUnwindSafe,
impl<CamlG> Send for CamlProverCommitments<CamlG>where CamlG: Send,
impl<CamlG> Sync for CamlProverCommitments<CamlG>where CamlG: Sync,
impl<CamlG> Unpin for CamlProverCommitments<CamlG>where CamlG: Unpin,
impl<CamlG> UnwindSafe for CamlProverCommitments<CamlG>where CamlG: 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