Trait cry::primitive::point::DisLogPoint[][src]

pub trait DisLogPoint: Clone + Bytes + Debug {
    type Scalar: ScalarNumber;

    const SIZE: usize;

    fn zero() -> Self;
fn one() -> Self;
fn basepoint() -> Self;
fn add(&self, rhs: &Self) -> Self;
fn mul(&self, rhs: &Self::Scalar) -> Self;
fn neg(&self) -> Self;
fn eq(&self, o: &Self) -> bool; fn sub(&self, rhs: &Self) -> Self
    where
        Self: Sized
, { ... } }

Point trait.

Associated Types

type Scalar: ScalarNumber[src]

Loading content...

Associated Constants

const SIZE: usize[src]

Loading content...

Required methods

fn zero() -> Self[src]

fn one() -> Self[src]

fn basepoint() -> Self[src]

fn add(&self, rhs: &Self) -> Self[src]

fn mul(&self, rhs: &Self::Scalar) -> Self[src]

fn neg(&self) -> Self[src]

fn eq(&self, o: &Self) -> bool[src]

Loading content...

Provided methods

fn sub(&self, rhs: &Self) -> Self where
    Self: Sized
[src]

Loading content...

Implementors

impl DisLogPoint for Point[src]

type Scalar = Scalar

Loading content...