Struct snarkvm_curves::bls12_377::Fq2Parameters
source · [−]pub struct Fq2Parameters;
Trait Implementations
sourceimpl Clone for Fq2Parameters
impl Clone for Fq2Parameters
sourcefn clone(&self) -> Fq2Parameters
fn clone(&self) -> Fq2Parameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Fq2Parameters
impl Debug for Fq2Parameters
sourceimpl<'de> Deserialize<'de> for Fq2Parameters
impl<'de> Deserialize<'de> for Fq2Parameters
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 Fp2Parameters for Fq2Parameters
impl Fp2Parameters for Fq2Parameters
sourceconst FROBENIUS_COEFF_FP2_C1: [Fq; 2] = _
const FROBENIUS_COEFF_FP2_C1: [Fq; 2] = _
Coefficients for the Frobenius automorphism.
sourceconst NONRESIDUE: Fq = _
const NONRESIDUE: Fq = _
NONRESIDUE = -5
sourceconst QUADRATIC_NONRESIDUE: (Fq, Fq) = _
const QUADRATIC_NONRESIDUE: (Fq, Fq) = _
QUADRATIC_NONRESIDUE = U
type Fp = Fp384<FqParameters>
fn mul_fp_by_nonresidue(fe: &Self::Fp) -> Self::Fp
sourceimpl PartialEq<Fq2Parameters> for Fq2Parameters
impl PartialEq<Fq2Parameters> for Fq2Parameters
sourcefn eq(&self, other: &Fq2Parameters) -> bool
fn eq(&self, other: &Fq2Parameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for Fq2Parameters
impl Serialize for Fq2Parameters
impl Eq for Fq2Parameters
impl StructuralEq for Fq2Parameters
impl StructuralPartialEq for Fq2Parameters
Auto Trait Implementations
impl RefUnwindSafe for Fq2Parameters
impl Send for Fq2Parameters
impl Sync for Fq2Parameters
impl Unpin for Fq2Parameters
impl UnwindSafe for Fq2Parameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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