pub struct CamlOracles<CamlF> {
pub o: CamlRandomOracles<CamlF>,
pub public_evals: (CamlF, CamlF),
pub opening_prechallenges: Vec<CamlF>,
pub digest_before_evaluations: CamlF,
}
Fields§
§o: CamlRandomOracles<CamlF>
§public_evals: (CamlF, CamlF)
§opening_prechallenges: Vec<CamlF>
§digest_before_evaluations: CamlF
Trait Implementations§
Source§impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlOracles<CamlF>where
CamlRandomOracles<CamlF>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
(CamlF, CamlF): FromValue<'from_value_lifetime>,
Vec<CamlF>: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlOracles<CamlF>where
CamlRandomOracles<CamlF>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
(CamlF, CamlF): FromValue<'from_value_lifetime>,
Vec<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 CamlOracles<CamlF>where
CamlRandomOracles<CamlF>: IntoValue,
CamlF: IntoValue,
(CamlF, CamlF): IntoValue,
Vec<CamlF>: IntoValue,
impl<CamlF> IntoValue for CamlOracles<CamlF>where
CamlRandomOracles<CamlF>: IntoValue,
CamlF: IntoValue,
(CamlF, CamlF): IntoValue,
Vec<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 CamlOracles<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlBinding for CamlOracles<CamlF>where
CamlF: OCamlDesc,
Source§impl<CamlF> OCamlDesc for CamlOracles<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlDesc for CamlOracles<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 CamlOracles<CamlF>where
CamlF: Freeze,
impl<CamlF> RefUnwindSafe for CamlOracles<CamlF>where
CamlF: RefUnwindSafe,
impl<CamlF> Send for CamlOracles<CamlF>where
CamlF: Send,
impl<CamlF> Sync for CamlOracles<CamlF>where
CamlF: Sync,
impl<CamlF> Unpin for CamlOracles<CamlF>where
CamlF: Unpin,
impl<CamlF> UnwindSafe for CamlOracles<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