Trait Identity
Other items incurve25519_dalek::traits
pub trait Identity { fn identity() -> Self; }
Trait for getting the identity element of a point type.
fn identity() -> Self
Returns the identity element of the curve. Can be used as a constructor.
impl Identity for CompressedEdwardsY
impl Identity for EdwardsPoint
impl Identity for CompressedRistretto
impl Identity for RistrettoPoint