[][src]Trait rust_elgamal::Identity

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

Trait for getting the identity element of a point type.

Required methods

pub fn identity() -> Self[src]

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

Loading content...

Implementations on Foreign Types

impl Identity for CompressedEdwardsY[src]

impl Identity for EdwardsPoint[src]

Loading content...

Implementors

impl Identity for Ciphertext[src]

impl Identity for CompressedRistretto[src]

impl Identity for RistrettoPoint[src]

Loading content...