[−][src]Struct fawkes_crypto_pairing_ce::bn256::Fq2
An element of Fq2, represented by c0 + c1 * u.
Fields
c0: Fq
c1: Fq
Implementations
impl Fq2
[src]
pub fn mul_by_nonresidue(&mut self)
[src]
Multiply this element by quadratic nonresidue 9 + u.
pub fn mul_by_xi(&mut self)
[src]
pub fn norm(&self) -> Fq
[src]
Norm of Fq2 as extension field in i over Fq
pub fn conjugate(&mut self)
[src]
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]
fn zero() -> Self
[src]
fn one() -> Self
[src]
fn is_zero(&self) -> bool
[src]
fn square(&mut self)
[src]
fn double(&mut self)
[src]
fn negate(&mut self)
[src]
fn add_assign(&mut self, other: &Self)
[src]
fn sub_assign(&mut self, other: &Self)
[src]
fn mul_assign(&mut self, other: &Self)
[src]
fn inverse(&self) -> Option<Self>
[src]
fn frobenius_map(&mut self, power: usize)
[src]
fn pow<S>(&self, exp: S) -> Self where
S: AsRef<[u64]>,
[src]
S: AsRef<[u64]>,
impl Ord for Fq2
[src]
Fq2
elements are ordered lexicographically.
fn cmp(&self, other: &Fq2) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Fq2> for Fq2
[src]
impl PartialOrd<Fq2> for Fq2
[src]
fn partial_cmp(&self, other: &Fq2) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Rand 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,