# [−][src]Trait curve25519_dalek::traits::Identity

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

Trait for getting the identity element of a point type.

## Required methods

### fn identity() -> Self

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