pub fn new(x: Zp, y: Zp) -> Option<Self> {
        if (x.is_zero() && y.is_zero()) || y * y == x * x * x + B {
            Some(Point { x, y })
        } else {
            None
        }
    }
/// Constructs the point from coordinates.
///
/// Returns `None` if the point is not on the curve
Constructs the point from coordinates.
Returns `None` if the point is not on the curve
Constructs the point from coordinates . Returns ` None ` if the point is not on the curve
pub fn new(x: Zp, y: Zp) -> Option<Self> {
        if (x.is_zero() && y.is_zero()) || y * y == x * x * x + B {
            Some(Point { x, y })
        } else {
            None
        }
    }
pub fn new ( x : Zp , y : Zp ) -> Option < Self > { if ( x . is_zero ( ) && y . is_zero ( ) ) || y * y == x * x * x + B { Some ( Point { x , y } ) } else { None } }
Constructs the point from coordinates.
Constructs the point from coordinates .
x
Zp
y
Zp