Struct poly_commitment::ipa::caml::CamlOpeningProof
source · pub struct CamlOpeningProof<G, F> {
pub lr: Vec<(G, G)>,
pub delta: G,
pub z1: F,
pub z2: F,
pub sg: G,
}
Fields§
§lr: Vec<(G, G)>
vector of rounds of L & R commitments
delta: G
§z1: F
§z2: F
§sg: G
Trait Implementations§
source§impl<G, CamlF, CamlG> From<CamlOpeningProof<CamlG, CamlF>> for OpeningProof<G>where
G: AffineRepr,
CamlG: Into<G>,
CamlF: Into<G::ScalarField>,
impl<G, CamlF, CamlG> From<CamlOpeningProof<CamlG, CamlF>> for OpeningProof<G>where G: AffineRepr, CamlG: Into<G>, CamlF: Into<G::ScalarField>,
source§fn from(caml: CamlOpeningProof<CamlG, CamlF>) -> Self
fn from(caml: CamlOpeningProof<CamlG, CamlF>) -> Self
Converts to this type from the input type.
source§impl<G, CamlF, CamlG> From<OpeningProof<G>> for CamlOpeningProof<CamlG, CamlF>where
G: AffineRepr,
CamlG: From<G>,
CamlF: From<G::ScalarField>,
impl<G, CamlF, CamlG> From<OpeningProof<G>> for CamlOpeningProof<CamlG, CamlF>where G: AffineRepr, CamlG: From<G>, CamlF: From<G::ScalarField>,
source§fn from(opening_proof: OpeningProof<G>) -> Self
fn from(opening_proof: OpeningProof<G>) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, G, F> FromValue<'from_value_lifetime> for CamlOpeningProof<G, F>where
Vec<(G, G)>: FromValue<'from_value_lifetime>,
G: FromValue<'from_value_lifetime>,
F: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, G, F> FromValue<'from_value_lifetime> for CamlOpeningProof<G, F>where Vec<(G, G)>: FromValue<'from_value_lifetime>, G: FromValue<'from_value_lifetime>, F: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<G, F> IntoValue for CamlOpeningProof<G, F>where
Vec<(G, G)>: IntoValue,
G: IntoValue,
F: IntoValue,
impl<G, F> IntoValue for CamlOpeningProof<G, F>where Vec<(G, G)>: IntoValue, G: IntoValue, F: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<G, F> OCamlBinding for CamlOpeningProof<G, F>where
G: OCamlDesc,
F: OCamlDesc,
impl<G, F> OCamlBinding for CamlOpeningProof<G, F>where G: OCamlDesc, F: OCamlDesc,
source§impl<G, F> OCamlDesc for CamlOpeningProof<G, F>where
G: OCamlDesc,
F: OCamlDesc,
impl<G, F> OCamlDesc for CamlOpeningProof<G, F>where G: OCamlDesc, F: 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<G, F> RefUnwindSafe for CamlOpeningProof<G, F>where F: RefUnwindSafe, G: RefUnwindSafe,
impl<G, F> Send for CamlOpeningProof<G, F>where F: Send, G: Send,
impl<G, F> Sync for CamlOpeningProof<G, F>where F: Sync, G: Sync,
impl<G, F> Unpin for CamlOpeningProof<G, F>where F: Unpin, G: Unpin,
impl<G, F> UnwindSafe for CamlOpeningProof<G, F>where F: UnwindSafe, G: 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