Trait generic_ec_core::coords::HasAffineX

source ·
pub trait HasAffineX: Curve {
    // Required method
    fn x(point: &Self::Point) -> Option<Self::CoordinateArray>;
}
Expand description

A point that has affine x coordinate

Required Methods§

source

fn x(point: &Self::Point) -> Option<Self::CoordinateArray>

Returns point affine x coordinate

Returns None if it’s point at infinity

Object Safety§

This trait is not object safe.

Implementors§