Struct mina_poseidon::poseidon::ArithmeticSpongeParams
source · pub struct ArithmeticSpongeParams<F: Field + CanonicalSerialize + CanonicalDeserialize> {
pub round_constants: Vec<Vec<F>>,
pub mds: Vec<Vec<F>>,
}
Fields§
§round_constants: Vec<Vec<F>>
§mds: Vec<Vec<F>>
Trait Implementations§
source§impl<F: Clone + Field + CanonicalSerialize + CanonicalDeserialize> Clone for ArithmeticSpongeParams<F>
impl<F: Clone + Field + CanonicalSerialize + CanonicalDeserialize> Clone for ArithmeticSpongeParams<F>
source§fn clone(&self) -> ArithmeticSpongeParams<F>
fn clone(&self) -> ArithmeticSpongeParams<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 + Field + CanonicalSerialize + CanonicalDeserialize> Debug for ArithmeticSpongeParams<F>
impl<F: Debug + Field + CanonicalSerialize + CanonicalDeserialize> Debug for ArithmeticSpongeParams<F>
source§impl<F: Default + Field + CanonicalSerialize + CanonicalDeserialize> Default for ArithmeticSpongeParams<F>
impl<F: Default + Field + CanonicalSerialize + CanonicalDeserialize> Default for ArithmeticSpongeParams<F>
source§fn default() -> ArithmeticSpongeParams<F>
fn default() -> ArithmeticSpongeParams<F>
Returns the “default value” for a type. Read more
source§impl<'de, F: Field + CanonicalSerialize + CanonicalDeserialize> Deserialize<'de> for ArithmeticSpongeParams<F>
impl<'de, F: Field + CanonicalSerialize + CanonicalDeserialize> Deserialize<'de> for ArithmeticSpongeParams<F>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> RefUnwindSafe for ArithmeticSpongeParams<F>where F: RefUnwindSafe,
impl<F> Send for ArithmeticSpongeParams<F>
impl<F> Sync for ArithmeticSpongeParams<F>
impl<F> Unpin for ArithmeticSpongeParams<F>where F: Unpin,
impl<F> UnwindSafe for ArithmeticSpongeParams<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