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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.