[][src]Struct wagyu_zcash::librustzcash::algebra::curve::bls12_381::Fq2

pub struct Fq2 {
    pub c0: Fq,
    pub c1: Fq,
}

An element of Fq2, represented by c0 + c1 * u.

Fields

c0: Fqc1: Fq

Methods

impl Fq2[src]

pub fn mul_by_nonresidue(&mut self)[src]

Multiply this element by the cubic and quadratic nonresidue 1 + u.

pub fn norm(&self) -> Fq[src]

Norm of Fq2 as extension field in i over Fq

Trait Implementations

impl Clone for Fq2[src]

impl Copy for Fq2[src]

impl Debug for Fq2[src]

impl Display for Fq2[src]

impl Eq for Fq2[src]

impl Field for Fq2[src]

impl Ord for Fq2[src]

Fq2 elements are ordered lexicographically.

impl PartialEq<Fq2> for Fq2[src]

impl PartialOrd<Fq2> for Fq2[src]

impl SqrtField for Fq2[src]

impl StructuralEq for Fq2[src]

impl StructuralPartialEq for Fq2[src]

Auto Trait Implementations

impl RefUnwindSafe for Fq2

impl Send for Fq2

impl Sync for Fq2

impl Unpin for Fq2

impl UnwindSafe for Fq2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,