Struct pairing_ce::bls12_381::Fq6
source · Expand description
An element of Fq6, represented by c0 + c1 * v + c2 * v^(2).
Fields
c0: Fq2
c1: Fq2
c2: Fq2
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Fq6
impl<'de> Deserialize<'de> for Fq6
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Field for Fq6
impl Field for Fq6
sourcefn add_assign(&mut self, other: &Self)
fn add_assign(&mut self, other: &Self)
Adds another element to this element.
sourcefn sub_assign(&mut self, other: &Self)
fn sub_assign(&mut self, other: &Self)
Subtracts another element from this element.
sourcefn frobenius_map(&mut self, power: usize)
fn frobenius_map(&mut self, power: usize)
Exponentiates this element by a power of the base prime modulus via
the Frobenius automorphism. Read more
sourcefn mul_assign(&mut self, other: &Self)
fn mul_assign(&mut self, other: &Self)
Multiplies another element by this element.
impl Copy for Fq6
impl Eq for Fq6
impl StructuralEq for Fq6
impl StructuralPartialEq for Fq6
Auto Trait Implementations
impl RefUnwindSafe for Fq6
impl Send for Fq6
impl Sync for Fq6
impl Unpin for Fq6
impl UnwindSafe for Fq6
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more