pub struct CamlRandomOracles<CamlF> {
pub joint_combiner: Option<(CamlScalarChallenge<CamlF>, CamlF)>,
pub beta: CamlF,
pub gamma: CamlF,
pub alpha_chal: CamlScalarChallenge<CamlF>,
pub alpha: CamlF,
pub zeta: CamlF,
pub v: CamlF,
pub u: CamlF,
pub zeta_chal: CamlScalarChallenge<CamlF>,
pub v_chal: CamlScalarChallenge<CamlF>,
pub u_chal: CamlScalarChallenge<CamlF>,
}
Fields§
§joint_combiner: Option<(CamlScalarChallenge<CamlF>, CamlF)>
§beta: CamlF
§gamma: CamlF
§alpha_chal: CamlScalarChallenge<CamlF>
§alpha: CamlF
§zeta: CamlF
§v: CamlF
§u: CamlF
§zeta_chal: CamlScalarChallenge<CamlF>
§v_chal: CamlScalarChallenge<CamlF>
§u_chal: CamlScalarChallenge<CamlF>
Trait Implementations§
source§impl<F, CamlF> From<CamlRandomOracles<CamlF>> for RandomOracles<F>where
CamlF: Into<F>,
F: Field,
impl<F, CamlF> From<CamlRandomOracles<CamlF>> for RandomOracles<F>where CamlF: Into<F>, F: Field,
source§fn from(caml_ro: CamlRandomOracles<CamlF>) -> Self
fn from(caml_ro: CamlRandomOracles<CamlF>) -> Self
Converts to this type from the input type.
source§impl<F, CamlF> From<RandomOracles<F>> for CamlRandomOracles<CamlF>where
F: Field,
CamlF: From<F>,
impl<F, CamlF> From<RandomOracles<F>> for CamlRandomOracles<CamlF>where F: Field, CamlF: From<F>,
source§fn from(ro: RandomOracles<F>) -> Self
fn from(ro: RandomOracles<F>) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlRandomOracles<CamlF>where
Option<(CamlScalarChallenge<CamlF>, CamlF)>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
CamlScalarChallenge<CamlF>: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlRandomOracles<CamlF>where Option<(CamlScalarChallenge<CamlF>, CamlF)>: FromValue<'from_value_lifetime>, CamlF: FromValue<'from_value_lifetime>, CamlScalarChallenge<CamlF>: FromValue<'from_value_lifetime>,
source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
source§impl<CamlF> IntoValue for CamlRandomOracles<CamlF>where
Option<(CamlScalarChallenge<CamlF>, CamlF)>: IntoValue,
CamlF: IntoValue,
CamlScalarChallenge<CamlF>: IntoValue,
impl<CamlF> IntoValue for CamlRandomOracles<CamlF>where Option<(CamlScalarChallenge<CamlF>, CamlF)>: IntoValue, CamlF: IntoValue, CamlScalarChallenge<CamlF>: IntoValue,
source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
source§impl<CamlF> OCamlBinding for CamlRandomOracles<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlBinding for CamlRandomOracles<CamlF>where CamlF: OCamlDesc,
source§impl<CamlF> OCamlDesc for CamlRandomOracles<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlDesc for CamlRandomOracles<CamlF>where CamlF: 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<CamlF> RefUnwindSafe for CamlRandomOracles<CamlF>where CamlF: RefUnwindSafe,
impl<CamlF> Send for CamlRandomOracles<CamlF>where CamlF: Send,
impl<CamlF> Sync for CamlRandomOracles<CamlF>where CamlF: Sync,
impl<CamlF> Unpin for CamlRandomOracles<CamlF>where CamlF: Unpin,
impl<CamlF> UnwindSafe for CamlRandomOracles<CamlF>where CamlF: 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