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