Struct snarkvm_curves::edwards_bls12::parameters::EdwardsParameters [−][src]
pub struct EdwardsParameters;
Trait Implementations
impl Clone for EdwardsParameters
[src]
impl Clone for EdwardsParameters
[src]fn clone(&self) -> EdwardsParameters
[src]
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]fn default() -> EdwardsParameters
[src]
fn default() -> EdwardsParameters
[src]Returns the “default value” for a type. Read more
impl ModelParameters for EdwardsParameters
[src]
impl ModelParameters for EdwardsParameters
[src]type BaseField = Fq
type ScalarField = Fr
impl PartialEq<EdwardsParameters> for EdwardsParameters
[src]
impl PartialEq<EdwardsParameters> for EdwardsParameters
[src]impl TEModelParameters for EdwardsParameters
[src]
impl TEModelParameters for EdwardsParameters
[src]const COFACTOR: &'static [u64]
[src]
const COFACTOR: &'static [u64]
[src]COFACTOR = 4
const COFACTOR_INV: Fr
[src]
const COFACTOR_INV: Fr
[src]COFACTOR_INV = 527778859339273151515551558673846658209717731602102048798421311598680340096
fn mul_by_a(elem: &Self::BaseField) -> Self::BaseField
[src]
fn mul_by_a(elem: &Self::BaseField) -> Self::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<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>,