pub trait Curve:
Group
+ GroupOps<Self::Affine>
+ GroupOpsOwned<Self::Affine> {
type Affine: CurveAffine<Curve = Self, Scalar = Self::Scalar>;
// Required method
fn to_affine(&self) -> Self::Affine;
// Provided method
fn batch_normalize(p: &[Self], q: &mut [Self::Affine]) { ... }
}Expand description
Efficient representation of an elliptic curve point.
Required Associated Types§
Sourcetype Affine: CurveAffine<Curve = Self, Scalar = Self::Scalar>
type Affine: CurveAffine<Curve = Self, Scalar = Self::Scalar>
The affine representation for this elliptic curve.
Required Methods§
Provided Methods§
Sourcefn batch_normalize(p: &[Self], q: &mut [Self::Affine])
fn batch_normalize(p: &[Self], q: &mut [Self::Affine])
Converts a batch of projective elements into affine elements. This function will
panic if p.len() != q.len().
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".