Struct pairing::bls12_381::Fq12 [] [src]

pub struct Fq12 {
    pub c0: Fq6,
    pub c1: Fq6,
}

An element of Fq12, represented by c0 + c1 * w.

Fields

Methods

impl Fq12
[src]

Trait Implementations

impl Copy for Fq12
[src]

impl Clone for Fq12
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Fq12
[src]

Formats the value using the given formatter.

impl Eq for Fq12
[src]

impl PartialEq for Fq12
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Fq12
[src]

Formats the value using the given formatter. Read more

impl Rand for Fq12
[src]

Generates a random instance of this type using the specified source of randomness. Read more

impl Field for Fq12
[src]

Returns the zero element of the field, the additive identity.

Returns the one element of the field, the multiplicative identity.

Returns true iff this element is zero.

Doubles this element.

Negates this element.

Adds another element to this element.

Subtracts another element from this element.

Exponentiates this element by a power of the base prime modulus via the Frobenius automorphism. Read more

Squares this element.

Multiplies another element by this element.

Computes the multiplicative inverse of this element, if nonzero.

Exponentiates this element by a number represented with u64 limbs, least significant digit first. Read more