Struct snarkvm_wasm::EdwardsParameters [−][src]
pub struct EdwardsParameters;
Trait Implementations
impl Clone for EdwardsParameters
[src]
impl Clone for EdwardsParameters
[src]pub fn clone(&self) -> EdwardsParameters
[src]
pub fn clone(&self) -> EdwardsParameters
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Default for EdwardsParameters
[src]
impl Default for EdwardsParameters
[src]pub fn default() -> EdwardsParameters
[src]
pub fn default() -> EdwardsParameters
[src]Returns the “default value” for a type. Read more
impl ModelParameters for EdwardsParameters
[src]
impl ModelParameters for EdwardsParameters
[src]impl MontgomeryModelParameters for EdwardsParameters
[src]
impl MontgomeryModelParameters for EdwardsParameters
[src]pub const COEFF_A: Fp256<FrParameters>
[src]
pub const COEFF_A: Fp256<FrParameters>
[src]COEFF_A = 0x8D26E3FADA9010A26949031ECE3971B93952AD84D4753DDEDB748DA37E8F552
pub const COEFF_B: Fp256<FrParameters>
[src]
pub const COEFF_B: Fp256<FrParameters>
[src]COEFF_B = 0x9D8F71EEC83A44C3A1FBCEC6F5418E5C6154C2682B8AC231C5A3725C8170AAD
impl PartialEq<EdwardsParameters> for EdwardsParameters
[src]
impl PartialEq<EdwardsParameters> for EdwardsParameters
[src]impl TEModelParameters for EdwardsParameters
[src]
impl TEModelParameters for EdwardsParameters
[src]pub const AFFINE_GENERATOR_COEFFS: (<EdwardsParameters as ModelParameters>::BaseField, <EdwardsParameters as ModelParameters>::BaseField)
[src]
pub const AFFINE_GENERATOR_COEFFS: (<EdwardsParameters as ModelParameters>::BaseField, <EdwardsParameters as ModelParameters>::BaseField)
[src]Generated randomly
pub const COEFF_A: Fp256<FrParameters>
[src]
pub const COEFF_A: Fp256<FrParameters>
[src]COEFF_A = -1
pub const COEFF_D: Fp256<FrParameters>
[src]
pub const COEFF_D: Fp256<FrParameters>
[src]COEFF_D = 3021
pub const COFACTOR: &'static [u64]
[src]
pub const COFACTOR: &'static [u64]
[src]COFACTOR = 4
pub const COFACTOR_INV: Fp256<FrParameters>
[src]
pub const COFACTOR_INV: Fp256<FrParameters>
[src]COFACTOR_INV = 527778859339273151515551558673846658209717731602102048798421311598680340096
pub fn mul_by_a(
elem: &<EdwardsParameters as ModelParameters>::BaseField
) -> <EdwardsParameters as ModelParameters>::BaseField
[src]
pub fn mul_by_a(
elem: &<EdwardsParameters as ModelParameters>::BaseField
) -> <EdwardsParameters as ModelParameters>::BaseField
[src]Multiplication by a
is just negation.
Is a
1 or -1?
type MontgomeryModelParameters = EdwardsParameters
fn empirical_recommended_wnaf_for_scalar(
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
[src]
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
fn empirical_recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
[src]
impl Eq for EdwardsParameters
[src]
impl StructuralEq for EdwardsParameters
[src]
impl StructuralPartialEq for EdwardsParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for EdwardsParameters
impl Send for EdwardsParameters
impl Sync for EdwardsParameters
impl Unpin for EdwardsParameters
impl UnwindSafe for EdwardsParameters
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,