Struct curve25519_dalek::curve::ProjectivePoint
[−]
[src]
pub struct ProjectivePoint { /* fields omitted */ }
A ProjectivePoint
is a point on the curve in 𝗣²(𝔽ₚ).
A point (x,y) in the affine model corresponds to (x:y:1).
Methods
impl ProjectivePoint
[src]
fn compress(&self) -> CompressedPoint
Convert this point to a CompressedPoint
Trait Implementations
impl Copy for ProjectivePoint
[src]
impl Clone for ProjectivePoint
[src]
fn clone(&self) -> ProjectivePoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Identity for ProjectivePoint
[src]
fn identity() -> ProjectivePoint
Returns the identity element of the curve. Can be used as a constructor. Read more