Struct mina_poseidon::sponge::caml::CamlScalarChallenge
source · pub struct CamlScalarChallenge<CamlF>(pub CamlF);
Tuple Fields§
§0: CamlF
Trait Implementations§
source§impl<CamlF: Clone> Clone for CamlScalarChallenge<CamlF>
impl<CamlF: Clone> Clone for CamlScalarChallenge<CamlF>
source§fn clone(&self) -> CamlScalarChallenge<CamlF>
fn clone(&self) -> CamlScalarChallenge<CamlF>
Returns a copy 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<CamlF: Debug> Debug for CamlScalarChallenge<CamlF>
impl<CamlF: Debug> Debug for CamlScalarChallenge<CamlF>
source§impl<F, CamlF> From<CamlScalarChallenge<CamlF>> for ScalarChallenge<F>where
CamlF: Into<F>,
impl<F, CamlF> From<CamlScalarChallenge<CamlF>> for ScalarChallenge<F>where CamlF: Into<F>,
source§fn from(caml_sc: CamlScalarChallenge<CamlF>) -> Self
fn from(caml_sc: CamlScalarChallenge<CamlF>) -> Self
Converts to this type from the input type.
source§impl<F, CamlF> From<ScalarChallenge<F>> for CamlScalarChallenge<CamlF>where
CamlF: From<F>,
impl<F, CamlF> From<ScalarChallenge<F>> for CamlScalarChallenge<CamlF>where CamlF: From<F>,
source§fn from(sc: ScalarChallenge<F>) -> Self
fn from(sc: ScalarChallenge<F>) -> Self
Converts to this type from the input type.
source§impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlScalarChallenge<CamlF>where
CamlF: FromValue<'from_value_lifetime>,
impl<'from_value_lifetime, CamlF> FromValue<'from_value_lifetime> for CamlScalarChallenge<CamlF>where 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 CamlScalarChallenge<CamlF>where
CamlF: IntoValue,
impl<CamlF> IntoValue for CamlScalarChallenge<CamlF>where 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 CamlScalarChallenge<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlBinding for CamlScalarChallenge<CamlF>where CamlF: OCamlDesc,
source§impl<CamlF> OCamlDesc for CamlScalarChallenge<CamlF>where
CamlF: OCamlDesc,
impl<CamlF> OCamlDesc for CamlScalarChallenge<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 CamlScalarChallenge<CamlF>where CamlF: RefUnwindSafe,
impl<CamlF> Send for CamlScalarChallenge<CamlF>where CamlF: Send,
impl<CamlF> Sync for CamlScalarChallenge<CamlF>where CamlF: Sync,
impl<CamlF> Unpin for CamlScalarChallenge<CamlF>where CamlF: Unpin,
impl<CamlF> UnwindSafe for CamlScalarChallenge<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