pub trait IsEdwards:
    IsEllipticCurve
    + Clone
    + Debug {
    // Required methods
    fn a() -> FieldElement<Self::BaseField>;
    fn d() -> FieldElement<Self::BaseField>;

    // Provided method
    fn defining_equation(
        x: &FieldElement<Self::BaseField>,
        y: &FieldElement<Self::BaseField>,
    ) -> FieldElement<Self::BaseField> { ... }
}
Expand description

Trait to add elliptic curves behaviour to a struct.

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§