Trait elliptic_curve::AffineXCoordinate

source ·
pub trait AffineXCoordinate<C: Curve> {
    // Required method
    fn x(&self) -> FieldBytes<C>;
}
Expand description

Obtain the affine x-coordinate of an elliptic curve point.

Required Methods§

source

fn x(&self) -> FieldBytes<C>

Get the affine x-coordinate as a serialized field element.

Implementors§