pub trait IsIdentity {
    fn is_identity(&self) -> bool;
Expand description

Trait for testing if a curve point is equivalent to the identity point.

Required methods

Return true if this element is the identity element of the curve.


Implement generic identity equality testing for a point representations which have constant-time equality testing and a defined identity constructor.