Struct bellperson::bls::Fq12[][src]

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

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

Fields

c0: Fq6c1: Fq6

Implementations

Compress this point. Returns None if the element is not in the cyclomtomic subgroup.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Returns an element chosen uniformly at random using a user-provided RNG.

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

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

This method tests for !=.

Serialize this value into the given Serde serializer. 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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

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.