# [−][src]Struct curve25519_dalek::backend::serial::curve_models::ProjectiveNielsPoint

pub struct ProjectiveNielsPoint {
pub Y_plus_X: FieldElement51,
pub Y_minus_X: FieldElement51,
pub Z: FieldElement51,
pub T2d: FieldElement51,
}

A pre-computed point on the $$\mathbb P^3$$ model for the curve, represented as $$(Y+X, Y-X, Z, 2dXY)$$ in "Niels coordinates".

More details on the relationships between the different curve models can be found in the module-level documentation.

## Fields

Y_plus_X: FieldElement51Y_minus_X: FieldElement51Z: FieldElement51T2d: FieldElement51

## Trait Implementations

### impl Clone for ProjectiveNielsPoint[src]

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

Performs copy-assignment from source. Read more

### impl<'a, 'b> Add<&'b ProjectiveNielsPoint> for &'a EdwardsPoint[src]

#### type Output = CompletedPoint

The resulting type after applying the + operator.

### impl<'a, 'b> Sub<&'b ProjectiveNielsPoint> for &'a EdwardsPoint[src]

#### type Output = CompletedPoint

The resulting type after applying the - operator.

### impl<'a> Neg for &'a ProjectiveNielsPoint[src]

#### type Output = ProjectiveNielsPoint

The resulting type after applying the - operator.

### impl ConditionallySelectable for ProjectiveNielsPoint[src]

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

## Blanket Implementations

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

#### type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

### impl<T> Same for T

#### type Output = T

Should always be Self