[−][src]Struct pairing_ce::bls12_381::G2
Trait Implementations
impl Clone for G2
[src]
impl Copy for G2
[src]
impl CurveProjective for G2
[src]
type Engine = Bls12
type Scalar = Fr
type Base = Fq2
type Affine = G2Affine
fn zero() -> Self
[src]
fn one() -> Self
[src]
fn is_zero(&self) -> bool
[src]
fn is_normalized(&self) -> bool
[src]
fn batch_normalization(v: &mut [Self])
[src]
fn double(&mut self)
[src]
fn add_assign(&mut self, other: &Self)
[src]
fn add_assign_mixed(&mut self, other: &Self::Affine)
[src]
fn negate(&mut self)
[src]
fn mul_assign<S: Into<<Self::Scalar as PrimeField>::Repr>>(&mut self, other: S)
[src]
fn into_affine(&self) -> G2Affine
[src]
fn recommended_wnaf_for_scalar(
scalar: <Self::Scalar as PrimeField>::Repr
) -> usize
[src]
scalar: <Self::Scalar as PrimeField>::Repr
) -> usize
fn recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
[src]
fn sub_assign(&mut self, other: &Self)
[src]
impl Debug for G2
[src]
impl Display for G2
[src]
impl Eq for G2
[src]
impl From<G2> for G2Affine
[src]
impl From<G2Affine> for G2
[src]
impl PartialEq<G2> for G2
[src]
impl Rand for G2
[src]
impl StructuralEq for G2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,