Struct cry::primitive::point::Point[][src]

pub struct Point<P: DisLogPoint>(pub P);

Point.

Implementations

impl<P: DisLogPoint> Point<P>[src]

pub fn zero() -> Self[src]

pub fn one() -> Self[src]

pub fn basepoint() -> Self[src]

Trait Implementations

impl<'a, 'b, P: DisLogPoint> Add<&'b Point<P>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the + operator.

impl<'a, 'b, P: DisLogPoint> Add<&'b Point<P>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the + operator.

impl<'a, 'b, P: DisLogPoint> Add<Point<P>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the + operator.

impl<'a, 'b, P: DisLogPoint> Add<Point<P>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the + operator.

impl<'a, 'b, P: DisLogPoint> AddAssign<&'b Point<P>> for Point<P>[src]

impl<P: DisLogPoint> Bytes for Point<P>[src]

type OutputSize = P::OutputSize

impl<P: Clone + DisLogPoint> Clone for Point<P>[src]

impl<P: Debug + DisLogPoint> Debug for Point<P>[src]

impl<P: Eq + DisLogPoint> Eq for Point<P>[src]

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Point<P>> for &'a Scalar<S>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Point<P>> for Scalar<S>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Scalar<S>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<&'b Scalar<S>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Point<P>> for &'a Scalar<S>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Point<P>> for Scalar<S>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Scalar<S>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, S: ScalarNumber, P: DisLogPoint<Scalar = S>> Mul<Scalar<S>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the * operator.

impl<'a, 'b, P: DisLogPoint<Scalar = S>, S: ScalarNumber> MulAssign<&'b Scalar<S>> for Point<P>[src]

impl<P: DisLogPoint> Neg for Point<P>[src]

type Output = Point<P>

The resulting type after applying the - operator.

impl<P: DisLogPoint> PartialEq<Point<P>> for Point<P>[src]

impl<P: DisLogPoint> StructuralEq for Point<P>[src]

impl<'a, 'b, P: DisLogPoint> Sub<&'b Point<P>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the - operator.

impl<'a, 'b, P: DisLogPoint> Sub<&'b Point<P>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the - operator.

impl<'a, 'b, P: DisLogPoint> Sub<Point<P>> for &'a Point<P>[src]

type Output = Point<P>

The resulting type after applying the - operator.

impl<'a, 'b, P: DisLogPoint> Sub<Point<P>> for Point<P>[src]

type Output = Point<P>

The resulting type after applying the - operator.

impl<'a, 'b, P: DisLogPoint> SubAssign<&'b Point<P>> for Point<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for Point<P> where
    P: RefUnwindSafe

impl<P> Send for Point<P> where
    P: Send

impl<P> Sync for Point<P> where
    P: Sync

impl<P> Unpin for Point<P> where
    P: Unpin

impl<P> UnwindSafe for Point<P> where
    P: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.