Trait pairing::PairingCurveAffine
source · pub trait PairingCurveAffine: PrimeCurveAffine + UncompressedEncoding {
type Pair: PairingCurveAffine<Pair = Self>;
type PairingResult: Group;
// Required method
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult;
}
Expand description
Affine representation of an elliptic curve point that can be used to perform pairings.
Required Associated Types§
type Pair: PairingCurveAffine<Pair = Self>
type PairingResult: Group
Required Methods§
sourcefn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
Perform a pairing
Object Safety§
This trait is not object safe.