Struct mina_poseidon::sponge::ScalarChallenge
source · pub struct ScalarChallenge<F>(pub F);
Expand description
A challenge which is used as a scalar on a group element in the verifier
Tuple Fields§
§0: F
Implementations§
source§impl<F: PrimeField> ScalarChallenge<F>
impl<F: PrimeField> ScalarChallenge<F>
Trait Implementations§
source§impl<F: Clone> Clone for ScalarChallenge<F>
impl<F: Clone> Clone for ScalarChallenge<F>
source§fn clone(&self) -> ScalarChallenge<F>
fn clone(&self) -> ScalarChallenge<F>
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<F: Debug> Debug for ScalarChallenge<F>
impl<F: Debug> Debug for ScalarChallenge<F>
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.
Auto Trait Implementations§
impl<F> RefUnwindSafe for ScalarChallenge<F>where F: RefUnwindSafe,
impl<F> Send for ScalarChallenge<F>where F: Send,
impl<F> Sync for ScalarChallenge<F>where F: Sync,
impl<F> Unpin for ScalarChallenge<F>where F: Unpin,
impl<F> UnwindSafe for ScalarChallenge<F>where F: 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