Struct ark_bls12_381::Fq2Parameters[][src]

pub struct Fq2Parameters;

Trait Implementations

NONRESIDUE = -1

QUADRATIC_NONRESIDUE = (U + 1)

Coefficients for the Frobenius automorphism.

Return fe * Self::NONRESIDUE.

A specializable method for computing x + mul_base_field_by_nonresidue(y) This allows for optimizations when the non-residue is canonically negative in the field. Read more

A specializable method for computing x + y + mul_base_field_by_nonresidue(y) This allows for optimizations when the non-residue is not -1. Read more

A specializable method for computing x - mul_base_field_by_nonresidue(y) This allows for optimizations when the non-residue is canonically negative in the field. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.