[][src]Struct salty::CurvePoint

pub struct CurvePoint([FieldElement; 4]);

These represent the (X,Y,Z,T) coordinates

Methods

impl CurvePoint[src]

pub fn basepoint() -> CurvePoint[src]

pub fn neutral_element() -> CurvePoint[src]

pub fn compressed(&self) -> CompressedY[src]

Trait Implementations

impl PartialEq<CurvePoint> for CurvePoint[src]

impl<'a, 'b> Add<&'b CurvePoint> for &'a CurvePoint[src]

type Output = CurvePoint

The resulting type after applying the + operator.

impl<'a, 'b> Mul<&'b CurvePoint> for &'a Scalar[src]

type Output = CurvePoint

The resulting type after applying the * operator.

impl<'a> Neg for &'a CurvePoint[src]

type Output = CurvePoint

The resulting type after applying the - operator.

impl Debug for CurvePoint[src]

impl Copy for CurvePoint[src]

impl Clone for CurvePoint[src]

impl Default for CurvePoint[src]

impl ConstantTimeEq for CurvePoint[src]

impl ConditionallySelectable for CurvePoint[src]

Auto Trait Implementations

impl Unpin for CurvePoint

impl Send for CurvePoint

impl Sync for CurvePoint

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ConditionallyNegatable for T where
    T: ConditionallySelectable,
    &'a T: Neg,
    <&'a T as Neg>::Output == T, 
[src]