[−][src]Struct threshold_crypto::G2
Trait Implementations
impl From<G2> for G2Affine
[src]
impl From<G2Affine> for G2
[src]
impl PartialEq<G2> for G2
[src]
fn eq(&self, other: &G2) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for G2
[src]
impl CurveProjective for G2
[src]
type Engine = Bls12
type Scalar = Fr
type Base = Fq2
type Affine = G2Affine
fn zero() -> G2
[src]
fn one() -> G2
[src]
fn is_zero(&self) -> bool
[src]
fn is_normalized(&self) -> bool
[src]
fn batch_normalization(v: &mut [G2])
[src]
fn double(&mut self)
[src]
fn add_assign(&mut self, other: &G2)
[src]
fn add_assign_mixed(&mut self, other: &<G2 as CurveProjective>::Affine)
[src]
fn negate(&mut self)
[src]
fn mul_assign<S>(&mut self, other: S) where
S: Into<<<G2 as CurveProjective>::Scalar as PrimeField>::Repr>,
[src]
S: Into<<<G2 as CurveProjective>::Scalar as PrimeField>::Repr>,
fn into_affine(&self) -> G2Affine
[src]
fn recommended_wnaf_for_scalar(
scalar: <<G2 as CurveProjective>::Scalar as PrimeField>::Repr
) -> usize
[src]
scalar: <<G2 as CurveProjective>::Scalar as PrimeField>::Repr
) -> usize
fn recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
[src]
fn sub_assign(&mut self, other: &Self)
[src]
Subtracts another element from this element.
impl Copy for G2
[src]
impl Debug for G2
[src]
impl Rand for G2
[src]
impl Clone for G2
[src]
fn clone(&self) -> G2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for G2
[src]
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,