Trait curve25519_dalek::traits::Identity
[−]
[src]
pub trait Identity { fn identity() -> Self; }
Trait for getting the identity element of a point type.
Required Methods
fn identity() -> Self
Returns the identity element of the curve. Can be used as a constructor.
Implementors
impl Identity for MontgomeryPoint
impl Identity for CompressedEdwardsY
impl Identity for ExtendedPoint
impl Identity for CompressedRistretto
impl Identity for RistrettoPoint