Struct kimchi_stubs::CamlOpeningProof
source · pub struct CamlOpeningProof<G, F> {
pub lr: Vec<(G, G), Global>,
pub delta: G,
pub z1: F,
pub z2: F,
pub sg: G,
}
Expand description
Handy re-exports
Fields§
§lr: Vec<(G, G), Global>
vector of rounds of L & R commitments
delta: G
§z1: F
§z2: F
§sg: G
Trait Implementations§
source§impl<G, CamlF, CamlG> From<OpeningProof<G>> for CamlOpeningProof<CamlG, CamlF>where
G: AffineRepr,
CamlG: From<G>,
CamlF: From<<G as AffineRepr>::ScalarField>,
impl<G, CamlF, CamlG> From<OpeningProof<G>> for CamlOpeningProof<CamlG, CamlF>where G: AffineRepr, CamlG: From<G>, CamlF: From<<G as AffineRepr>::ScalarField>,
source§fn from(opening_proof: OpeningProof<G>) -> CamlOpeningProof<CamlG, CamlF>
fn from(opening_proof: OpeningProof<G>) -> CamlOpeningProof<CamlG, CamlF>
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), Global>: 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), Global>: FromValue<'from_value_lifetime>, G: FromValue<'from_value_lifetime>, F: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> CamlOpeningProof<G, F>
fn from_value(value: Value) -> CamlOpeningProof<G, F>
Convert from OCaml value
source§impl<G, F> IntoValue for CamlOpeningProof<G, F>where
Vec<(G, G), Global>: IntoValue,
G: IntoValue,
F: IntoValue,
impl<G, F> IntoValue for CamlOpeningProof<G, F>where Vec<(G, G), Global>: IntoValue, G: IntoValue, F: IntoValue,
source§fn into_value(self, gc: &OCamlRuntime) -> Value
fn into_value(self, gc: &OCamlRuntime) -> 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