[−][src]Struct threshold_crypto::G1
Trait Implementations
impl CurveProjective for G1
[src]
type Engine = Bls12
type Scalar = Fr
type Base = Fq
type Affine = G1Affine
fn zero() -> G1
[src]
fn one() -> G1
[src]
fn is_zero(&self) -> bool
[src]
fn is_normalized(&self) -> bool
[src]
fn batch_normalization(v: &mut [G1])
[src]
fn double(&mut self)
[src]
fn add_assign(&mut self, other: &G1)
[src]
fn add_assign_mixed(&mut self, other: &<G1 as CurveProjective>::Affine)
[src]
fn negate(&mut self)
[src]
fn mul_assign<S>(&mut self, other: S) where
S: Into<<<G1 as CurveProjective>::Scalar as PrimeField>::Repr>,
[src]
S: Into<<<G1 as CurveProjective>::Scalar as PrimeField>::Repr>,
fn into_affine(&self) -> G1Affine
[src]
fn recommended_wnaf_for_scalar(
scalar: <<G1 as CurveProjective>::Scalar as PrimeField>::Repr
) -> usize
[src]
scalar: <<G1 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 G1
[src]
impl Eq for G1
[src]
impl PartialEq<G1> for G1
[src]
fn eq(&self, other: &G1) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Display for G1
[src]
impl Rand for G1
[src]
impl Clone for G1
[src]
fn clone(&self) -> G1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<G1Affine> for G1
[src]
impl From<G1> for G1Affine
[src]
impl Debug for G1
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,