Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§