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[src][]

Returns the identity element of the curve. Can be used as a constructor.

Implementors

impl Identity for CompressedEdwardsY[src][+]

impl Identity for EdwardsPoint[src][+]

impl Identity for CompressedRistretto[src][+]

impl Identity for RistrettoPoint[src][+]