Struct snarkvm_curves::bw6_761::Bls12_377G2Parameters
source · [−]pub struct Bls12_377G2Parameters;
Trait Implementations
sourceimpl Clone for Bls12_377G2Parameters
impl Clone for Bls12_377G2Parameters
sourcefn clone(&self) -> Bls12_377G2Parameters
fn clone(&self) -> Bls12_377G2Parameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for Bls12_377G2Parameters
impl Default for Bls12_377G2Parameters
sourcefn default() -> Bls12_377G2Parameters
fn default() -> Bls12_377G2Parameters
Returns the “default value” for a type. Read more
sourceimpl ModelParameters for Bls12_377G2Parameters
impl ModelParameters for Bls12_377G2Parameters
type BaseField = Fq
type ScalarField = Fr
sourceimpl ShortWeierstrassParameters for Bls12_377G2Parameters
impl ShortWeierstrassParameters for Bls12_377G2Parameters
sourceconst AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
const AFFINE_GENERATOR_COEFFS: (Self::BaseField, Self::BaseField)
AFFINE_GENERATOR_COEFFS = (G2_GENERATOR_X, G2_GENERATOR_Y)
sourceconst COFACTOR: &'static [u64]
const COFACTOR: &'static [u64]
COFACTOR = 26642435879335816683987677701488073867751118270052650655942102502312977592501693353047140953112195348280268661194869
sourceconst COFACTOR_INV: Fr
const COFACTOR_INV: Fr
COFACTOR^(-1) mod r = 214911522365886453591244899095480747723790054550866810551297776298664428889000553861210287833206024638187939842124
fn mul_by_a(_elem: &Self::BaseField) -> Self::BaseField
fn add_b(elem: &Self::BaseField) -> Self::BaseField
fn empirical_recommended_wnaf_for_scalar(
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
fn empirical_recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
impl Eq for Bls12_377G2Parameters
impl StructuralEq for Bls12_377G2Parameters
impl StructuralPartialEq for Bls12_377G2Parameters
Auto Trait Implementations
impl RefUnwindSafe for Bls12_377G2Parameters
impl Send for Bls12_377G2Parameters
impl Sync for Bls12_377G2Parameters
impl Unpin for Bls12_377G2Parameters
impl UnwindSafe for Bls12_377G2Parameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more