[−][src]Struct pairing_plus::bls12_381::Fq12
An element of Fq12, represented by c0 + c1 * w.
Fields
c0: Fq6
c1: Fq6
Methods
impl Fq12
[src]
Trait Implementations
impl Clone for Fq12
[src]
impl Copy for Fq12
[src]
impl Debug for Fq12
[src]
impl Display for Fq12
[src]
impl Eq for Fq12
[src]
impl Field for Fq12
[src]
fn random<R: RngCore + ?Sized>(rng: &mut R) -> Self
[src]
fn zero() -> Self
[src]
fn one() -> Self
[src]
fn is_zero(&self) -> bool
[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 frobenius_map(&mut self, power: usize)
[src]
fn square(&mut self)
[src]
fn mul_assign(&mut self, other: &Self)
[src]
fn inverse(&self) -> Option<Self>
[src]
fn pow<S>(&self, exp: S) -> Self where
S: AsRef<[u64]>,
[src]
S: AsRef<[u64]>,
impl PartialEq<Fq12> for Fq12
[src]
impl SerDes for Fq12
[src]
fn serialize<W: Write>(&self, writer: &mut W, _compressed: bool) -> Result<()>
[src]
The compressed parameter has no effect since Fr element will always be compressed.
fn deserialize<R: Read>(reader: &mut R, _compressed: bool) -> Result<Self>
[src]
The compressed parameter has no effect since Fr element will always be compressed.
impl StructuralEq for Fq12
[src]
impl StructuralPartialEq for Fq12
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fq12
impl Send for Fq12
impl Sync for Fq12
impl Unpin for Fq12
impl UnwindSafe for Fq12
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> Same<T> for T
type Output = T
Should always be Self
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>,