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§