Struct pvss::crypto::Point
[−]
[src]
pub struct Point { /* fields omitted */ }
Methods
impl Point
[src]
fn infinity() -> Point
fn generator() -> Point
fn from_scalar(s: &Scalar) -> Point
fn mul(&self, s: &Scalar) -> Point
fn inverse(&self) -> Point
fn to_bytes(&self) -> Vec<u8>
Trait Implementations
impl Clone for Point
[src]
fn clone(&self) -> Point
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Add for Point
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, p: Self) -> Self
The method for the +
operator
impl Sub for Point
[src]
type Output = Point
The resulting type after applying the -
operator
fn sub(self, p: Self) -> Self
The method for the -
operator