Struct snarkvm_wasm::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 moresourceimpl 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<Fq2Parameters, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Fq2Parameters, <__D as Deserializer<'de>>::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: [Fp384<FqParameters>; 2] = [Fq{
0:
BigInteger([202099033278250856, 5854854902718660529,
11492539364873682930, 8885205928937022213,
5545221690922665192, 39800542322357402]),
1: std::marker::PhantomData,},
Fq{
0:
BigInteger([9384023879812382873, 14252412606051516495,
9184438906438551565, 11444845376683159689,
8738795276227363922, 81297770384137296]),
1: std::marker::PhantomData,}]
const FROBENIUS_COEFF_FP2_C1: [Fp384<FqParameters>; 2] = [Fq{ 0: BigInteger([202099033278250856, 5854854902718660529, 11492539364873682930, 8885205928937022213, 5545221690922665192, 39800542322357402]), 1: std::marker::PhantomData,}, Fq{ 0: BigInteger([9384023879812382873, 14252412606051516495, 9184438906438551565, 11444845376683159689, 8738795276227363922, 81297770384137296]), 1: std::marker::PhantomData,}]
Coefficients for the Frobenius automorphism.
sourceconst NONRESIDUE: Fp384<FqParameters> = Fq{
0:
BigInteger([18161750659790013178, 10940260503947051403,
2338003791965605956, 14680817040264804354,
841925479686732267, 43193913801202386]),
1: std::marker::PhantomData,}
const NONRESIDUE: Fp384<FqParameters> = Fq{ 0: BigInteger([18161750659790013178, 10940260503947051403, 2338003791965605956, 14680817040264804354, 841925479686732267, 43193913801202386]), 1: std::marker::PhantomData,}
NONRESIDUE = -5
sourceconst QUADRATIC_NONRESIDUE: (Fp384<FqParameters>, Fp384<FqParameters>) = (Fq{ 0: BigInteger([0, 0, 0, 0, 0, 0]), 1: std::marker::PhantomData,},
Fq{
0:
BigInteger([202099033278250856u64, 5854854902718660529u64,
11492539364873682930u64, 8885205928937022213u64,
5545221690922665192u64, 39800542322357402u64]),
1: std::marker::PhantomData,})
const QUADRATIC_NONRESIDUE: (Fp384<FqParameters>, Fp384<FqParameters>) = (Fq{ 0: BigInteger([0, 0, 0, 0, 0, 0]), 1: std::marker::PhantomData,}, Fq{ 0: BigInteger([202099033278250856u64, 5854854902718660529u64, 11492539364873682930u64, 8885205928937022213u64, 5545221690922665192u64, 39800542322357402u64]), 1: std::marker::PhantomData,})
QUADRATIC_NONRESIDUE = U
type Fp = Fp384<FqParameters>
fn mul_fp_by_nonresidue(
fe: &<Fq2Parameters as Fp2Parameters>::Fp
) -> <Fq2Parameters as Fp2Parameters>::Fp
sourceimpl PartialEq<Fq2Parameters> for Fq2Parameters
impl PartialEq<Fq2Parameters> for Fq2Parameters
sourcefn eq(&self, other: &Fq2Parameters) -> bool
fn eq(&self, other: &Fq2Parameters) -> bool
sourceimpl Serialize for Fq2Parameters
impl Serialize for Fq2Parameters
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;