[−][src]Struct pairing_plus::bls12_381::G1
Trait Implementations
impl Clone for G1
[src]
impl Copy for G1
[src]
impl CurveProjective for G1
[src]
type Engine = Bls12
type Scalar = Fr
type Base = Fq
type Affine = G1Affine
fn random<R: RngCore>(rng: &mut R) -> Self
[src]
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) -> G1Affine
[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 as_tuple(&self) -> (&Fq, &Fq, &Fq)
[src]
unsafe fn as_tuple_mut(&mut self) -> (&mut Fq, &mut Fq, &mut Fq)
[src]
fn sub_assign(&mut self, other: &Self)
[src]
fn sub_assign_mixed(&mut self, other: &Self::Affine)
[src]
impl Debug for G1
[src]
impl Default for G1
[src]
impl Display for G1
[src]
impl Eq for G1
[src]
impl From<G1> for G1Affine
[src]
impl From<G1Affine> for G1
[src]
impl PartialEq<G1> for G1
[src]
impl SerDes for G1
[src]
fn serialize<W: Write>(&self, writer: &mut W, compressed: bool) -> Result<()>
[src]
Convert a G1 point to a blob.
fn deserialize<R: Read>(reader: &mut R, compressed: bool) -> Result<Self>
[src]
Deserialize a G1 element from a blob. Returns an error if deserialization fails.
impl StructuralEq for G1
[src]
impl Zeroize for G1
[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<PtT, X> HashToCurve<X> for PtT where
PtT: ClearH + IsogenyMap + OSSWUMap,
X: ExpandMsg,
<PtT as CurveProjective>::Base: FromRO,
[src]
PtT: ClearH + IsogenyMap + OSSWUMap,
X: ExpandMsg,
<PtT as CurveProjective>::Base: FromRO,
fn hash_to_curve<Mt, Dt>(Mt, Dt) -> PtT where
Dt: AsRef<[u8]>,
Mt: AsRef<[u8]>,
[src]
Dt: AsRef<[u8]>,
Mt: AsRef<[u8]>,
fn encode_to_curve<Mt, Dt>(Mt, Dt) -> PtT where
Dt: AsRef<[u8]>,
Mt: AsRef<[u8]>,
[src]
Dt: AsRef<[u8]>,
Mt: AsRef<[u8]>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,
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<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src]
Z: DefaultIsZeroes,