Struct snarkvm_curves::bls12_377::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 = Fq2
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 COEFF_B: Fq2
const COEFF_B: Fq2
COEFF_B = [0, 155198655607781456406391640216936120121836107652948796323930557600032281009004493664981332883744016074664192874906]
sourceconst COFACTOR: &'static [u64]
const COFACTOR: &'static [u64]
COFACTOR = 7923214915284317143930293550643874566881017850177945424769256759165301436616933228209277966774092486467289478618404761412630691835764674559376407658497
sourceconst COFACTOR_INV: Fr
const COFACTOR_INV: Fr
COFACTOR_INV = COFACTOR^{-1} mod r = 6764900296503390671038341982857278410319949526107311149686707033187604810669
fn mul_by_a(_: &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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more