Trait curve25519_dalek::traits::Identity

source ·
pub trait Identity {
    // Required method
    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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Identity for AffineNielsPoint

source§

impl Identity for ProjectiveNielsPoint

source§

impl Identity for ProjectivePoint

source§

impl Identity for CachedPoint

Available on nightly and curve25519_dalek_backend="simd" only.
source§

impl Identity for ExtendedPoint

Available on nightly 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