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]

[src]

[src]

Trait Implementations

impl Copy for Fq12
[src]

impl Clone for Fq12
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Fq12
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Fq12
[src]

impl PartialEq for Fq12
[src]

[src]

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

[src]

This method tests for !=.

impl Display for Fq12
[src]

[src]

Formats the value using the given formatter. Read more

impl Rand for Fq12
[src]

[src]

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

impl Field for Fq12
[src]

[src]

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

[src]

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

[src]

Returns true iff this element is zero.

[src]

Doubles this element.

[src]

Negates this element.

[src]

Adds another element to this element.

[src]

Subtracts another element from this element.

[src]

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

[src]

Squares this element.

[src]

Multiplies another element by this element.

[src]

Computes the multiplicative inverse of this element, if nonzero.

[src]

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

Auto Trait Implementations

impl Send for Fq12

impl Sync for Fq12