pub struct CamlRecursionChallenge<CamlG, CamlF> {
pub chals: Vec<CamlF>,
pub comm: CamlPolyComm<CamlG>,
}
Fields§
§chals: Vec<CamlF>
§comm: CamlPolyComm<CamlG>
Trait Implementations§
Source§impl<CamlG: Clone, CamlF: Clone> Clone for CamlRecursionChallenge<CamlG, CamlF>
impl<CamlG: Clone, CamlF: Clone> Clone for CamlRecursionChallenge<CamlG, CamlF>
Source§fn clone(&self) -> CamlRecursionChallenge<CamlG, CamlF>
fn clone(&self) -> CamlRecursionChallenge<CamlG, CamlF>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<G, CamlG, CamlF> From<CamlRecursionChallenge<CamlG, CamlF>> for RecursionChallenge<G>
impl<G, CamlG, CamlF> From<CamlRecursionChallenge<CamlG, CamlF>> for RecursionChallenge<G>
Source§fn from(caml_ch: CamlRecursionChallenge<CamlG, CamlF>) -> RecursionChallenge<G>
fn from(caml_ch: CamlRecursionChallenge<CamlG, CamlF>) -> RecursionChallenge<G>
Converts to this type from the input type.
Source§impl<G, CamlG, CamlF> From<RecursionChallenge<G>> for CamlRecursionChallenge<CamlG, CamlF>
impl<G, CamlG, CamlF> From<RecursionChallenge<G>> for CamlRecursionChallenge<CamlG, CamlF>
Source§fn from(ch: RecursionChallenge<G>) -> Self
fn from(ch: RecursionChallenge<G>) -> Self
Converts to this type from the input type.
Source§impl<'from_value_lifetime, CamlG, CamlF> FromValue<'from_value_lifetime> for CamlRecursionChallenge<CamlG, CamlF>where
Vec<CamlF>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
CamlPolyComm<CamlG>: FromValue<'from_value_lifetime>,
CamlG: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlG, CamlF> FromValue<'from_value_lifetime> for CamlRecursionChallenge<CamlG, CamlF>where
Vec<CamlF>: FromValue<'from_value_lifetime>,
CamlF: FromValue<'from_value_lifetime>,
CamlPolyComm<CamlG>: FromValue<'from_value_lifetime>,
CamlG: FromValue<'from_value_lifetime>,
Source§fn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
Source§impl<CamlG, CamlF> IntoValue for CamlRecursionChallenge<CamlG, CamlF>where
Vec<CamlF>: IntoValue,
CamlF: IntoValue,
CamlPolyComm<CamlG>: IntoValue,
CamlG: IntoValue,
impl<CamlG, CamlF> IntoValue for CamlRecursionChallenge<CamlG, CamlF>where
Vec<CamlF>: IntoValue,
CamlF: IntoValue,
CamlPolyComm<CamlG>: IntoValue,
CamlG: IntoValue,
Source§fn into_value(self, gc: &Runtime) -> Value
fn into_value(self, gc: &Runtime) -> Value
Convert to OCaml value
Source§impl<CamlG, CamlF> OCamlBinding for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: OCamlDesc,
CamlF: OCamlDesc,
impl<CamlG, CamlF> OCamlBinding for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: OCamlDesc,
CamlF: OCamlDesc,
Source§impl<CamlG, CamlF> OCamlDesc for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: OCamlDesc,
CamlF: OCamlDesc,
impl<CamlG, CamlF> OCamlDesc for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: OCamlDesc,
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<CamlG, CamlF> Freeze for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: Freeze,
impl<CamlG, CamlF> RefUnwindSafe for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: RefUnwindSafe,
CamlF: RefUnwindSafe,
impl<CamlG, CamlF> Send for CamlRecursionChallenge<CamlG, CamlF>
impl<CamlG, CamlF> Sync for CamlRecursionChallenge<CamlG, CamlF>
impl<CamlG, CamlF> Unpin for CamlRecursionChallenge<CamlG, CamlF>
impl<CamlG, CamlF> UnwindSafe for CamlRecursionChallenge<CamlG, CamlF>where
CamlG: UnwindSafe,
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