Struct kimchi::oracles::caml::CamlOracles
source · 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> 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