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>,
}
Expand description
Handy re-exports
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<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>) -> CamlRandomOracles<CamlF>
fn from(ro: RandomOracles<F>) -> CamlRandomOracles<CamlF>
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) -> CamlRandomOracles<CamlF>
fn from_value(value: Value) -> CamlRandomOracles<CamlF>
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: &OCamlRuntime) -> Value
fn into_value(self, gc: &OCamlRuntime) -> 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> Freeze for CamlRandomOracles<CamlF>where
CamlF: Freeze,
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