Struct pairing_ce::bn256::Bn256
source · pub struct Bn256;
Trait Implementations
sourceimpl Engine for Bn256
impl Engine for Bn256
sourcefn miller_loop<'a, I>(i: I) -> Self::Fqkwhere
I: IntoIterator<Item = &'a (&'a <Self::G1Affine as CurveAffine>::Prepared, &'a <Self::G2Affine as CurveAffine>::Prepared)>,
fn miller_loop<'a, I>(i: I) -> Self::Fqkwhere
I: IntoIterator<Item = &'a (&'a <Self::G1Affine as CurveAffine>::Prepared, &'a <Self::G2Affine as CurveAffine>::Prepared)>,
Perform a miller loop with some number of (G1, G2) pairs.
sourcefn final_exponentiation(r: &Fq12) -> Option<Fq12>
fn final_exponentiation(r: &Fq12) -> Option<Fq12>
Perform final exponentiation of the result of a miller loop.
sourceimpl ScalarEngine for Bn256
impl ScalarEngine for Bn256
impl Copy for Bn256
Auto Trait Implementations
impl RefUnwindSafe for Bn256
impl Send for Bn256
impl Sync for Bn256
impl Unpin for Bn256
impl UnwindSafe for Bn256
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