Struct mina_curves::pasta::curves::vesta::LegacyVestaParameters
source · pub struct LegacyVestaParameters;
Expand description
legacy curve, a copy of the normal curve to support legacy sponge params
Trait Implementations§
source§impl Clone for LegacyVestaParameters
impl Clone for LegacyVestaParameters
source§fn clone(&self) -> LegacyVestaParameters
fn clone(&self) -> LegacyVestaParameters
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 Default for LegacyVestaParameters
impl Default for LegacyVestaParameters
source§fn default() -> LegacyVestaParameters
fn default() -> LegacyVestaParameters
Returns the “default value” for a type. Read more
source§impl ModelParameters for LegacyVestaParameters
impl ModelParameters for LegacyVestaParameters
type BaseField = <VestaParameters as ModelParameters>::BaseField
type ScalarField = <VestaParameters as ModelParameters>::ScalarField
source§impl PartialEq<LegacyVestaParameters> for LegacyVestaParameters
impl PartialEq<LegacyVestaParameters> for LegacyVestaParameters
source§fn eq(&self, other: &LegacyVestaParameters) -> bool
fn eq(&self, other: &LegacyVestaParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SWModelParameters for LegacyVestaParameters
impl SWModelParameters for LegacyVestaParameters
const COEFF_A: Self::BaseField = <VestaParameters as SWModelParameters>::COEFF_A
const COEFF_B: Self::BaseField = <VestaParameters as SWModelParameters>::COEFF_B
const COFACTOR: &'static [u64] = <VestaParameters as SWModelParameters>::COFACTOR
const COFACTOR_INV: Self::ScalarField = <VestaParameters as SWModelParameters>::COFACTOR_INV
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField) = <VestaParameters as SWModelParameters>::AFFINE_GENERATOR_COEFFS
fn mul_by_a(elem: &Self::BaseField) -> Self::BaseField
fn add_b(elem: &Self::BaseField) -> Self::BaseField
impl Copy for LegacyVestaParameters
impl Eq for LegacyVestaParameters
impl StructuralEq for LegacyVestaParameters
impl StructuralPartialEq for LegacyVestaParameters
Auto Trait Implementations§
impl RefUnwindSafe for LegacyVestaParameters
impl Send for LegacyVestaParameters
impl Sync for LegacyVestaParameters
impl Unpin for LegacyVestaParameters
impl UnwindSafe for LegacyVestaParameters
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