[][src]Struct jubjub::ExtendedNielsPoint

pub struct ExtendedNielsPoint { /* fields omitted */ }

This is a pre-processed version of an extended point (U, V, Z, T1, T2) in the form (V + U, V - U, Z, T1 * T2 * 2d).

Methods

impl ExtendedNielsPoint[src]

pub const fn identity() -> Self[src]

Constructs this point from the neutral element (0, 1).

Trait Implementations

impl Copy for ExtendedNielsPoint[src]

impl Debug for ExtendedNielsPoint[src]

impl<'a, 'b> Sub<&'b ExtendedNielsPoint> for &'a ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the - operator.

impl<'b> Sub<&'b ExtendedNielsPoint> for ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the - operator.

impl<'a> Sub<ExtendedNielsPoint> for &'a ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the - operator.

impl Sub<ExtendedNielsPoint> for ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the - operator.

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

type Output = ExtendedPoint

The resulting type after applying the + operator.

impl<'b> Add<&'b ExtendedNielsPoint> for ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the + operator.

impl<'a> Add<ExtendedNielsPoint> for &'a ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the + operator.

impl Add<ExtendedNielsPoint> for ExtendedPoint[src]

type Output = ExtendedPoint

The resulting type after applying the + operator.

impl AddAssign<ExtendedNielsPoint> for ExtendedPoint[src]

impl<'b> AddAssign<&'b ExtendedNielsPoint> for ExtendedPoint[src]

impl SubAssign<ExtendedNielsPoint> for ExtendedPoint[src]

impl<'b> SubAssign<&'b ExtendedNielsPoint> for ExtendedPoint[src]

impl Clone for ExtendedNielsPoint[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl ConditionallySelectable for ExtendedNielsPoint[src]

fn conditional_assign(&mut self, other: &Self, choice: Choice)[src]

Conditionally assign other to self, according to choice. Read more

fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)[src]

Conditionally swap self and other if choice == 1; otherwise, reassign both unto themselves. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

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

type Owned = T