pub trait Identity {
    fn identity() -> Self;
}
Expand description

Trait for getting the identity element of a point type.

Required Methods§

source

fn identity() -> Self

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

Implementors§

source§

impl Identity for AffineNielsPoint

source§

impl Identity for ProjectiveNielsPoint

source§

impl Identity for ProjectivePoint

source§

impl Identity for CachedPoint

Available on (target feature avx512ifma or x86-64) and curve25519_dalek_backend="simd" only.
source§

impl Identity for ExtendedPoint

Available on (target feature avx512ifma or x86-64) and curve25519_dalek_backend="simd" only.
source§

impl Identity for CompressedEdwardsY

source§

impl Identity for EdwardsPoint

source§

impl Identity for MontgomeryPoint

source§

impl Identity for CompressedRistretto

source§

impl Identity for RistrettoPoint