Struct pairing_ce::bn256::fq12::Fq12
source · Expand description
An element of Fq12, represented by c0 + c1 * w.
Fields§
§c0: Fq6
§c1: Fq6
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Fq12
impl<'de> Deserialize<'de> for Fq12
source§fn 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
source§impl Field for Fq12
impl Field for Fq12
source§fn add_assign(&mut self, other: &Self)
fn add_assign(&mut self, other: &Self)
Adds another element to this element.
source§fn sub_assign(&mut self, other: &Self)
fn sub_assign(&mut self, other: &Self)
Subtracts another element from this element.
source§fn 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.
source§fn mul_assign(&mut self, other: &Self)
fn mul_assign(&mut self, other: &Self)
Multiplies another element by this element.