Skip to main content

ProjectiveArithmetic

Trait ProjectiveArithmetic 

Source
pub trait ProjectiveArithmetic: Curve + AffineArithmetic {
    type ProjectivePoint: ConditionallySelectable + ConstantTimeEq + Default + From<Self::AffinePoint> + Into<Self::AffinePoint> + Curve<AffineRepr = Self::AffinePoint> + Group<Scalar = Self::Scalar>;
}
Expand description

Elliptic curve with projective arithmetic implementation.

Required Associated Types§

Source

type ProjectivePoint: ConditionallySelectable + ConstantTimeEq + Default + From<Self::AffinePoint> + Into<Self::AffinePoint> + Curve<AffineRepr = Self::AffinePoint> + Group<Scalar = Self::Scalar>

Elliptic curve point in projective coordinates.

Note: the following bounds are enforced by group::Group:

  • Copy
  • Clone
  • Debug
  • Eq
  • Sized
  • Send
  • Sync

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§