pub struct Config;Trait Implementations§
Source§impl BnConfig for Config
impl BnConfig for Config
Source§const X_IS_NEGATIVE: bool = false
const X_IS_NEGATIVE: bool = false
x is positive.
Source§const X: &'static [u64]
const X: &'static [u64]
The absolute value of the BN curve parameter
X
(as in q = 36 X^4 + 36 X^3 + 24 X^2 + 6 X + 1).Source§const ATE_LOOP_COUNT: &'static [i8]
const ATE_LOOP_COUNT: &'static [i8]
The absolute value of
6X + 2.const TWIST_MUL_BY_Q_X: Fq2
const TWIST_MUL_BY_Q_Y: Fq2
const TWIST_TYPE: TwistType = TwistType::D
type Fp = Fp<MontBackend<FqConfig, 4>, 4>
type Fp2Config = Fq2Config
type Fp6Config = Fq6Config
type Fp12Config = Fq12Config
type G1Config = Config
type G2Config = Config
fn multi_miller_loop( a: impl IntoIterator<Item = impl Into<G1Prepared<Self>>>, b: impl IntoIterator<Item = impl Into<G2Prepared<Self>>>, ) -> MillerLoopOutput<Bn<Self>>
fn final_exponentiation( f: MillerLoopOutput<Bn<Self>>, ) -> Option<PairingOutput<Bn<Self>>>
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more