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