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

pub struct AffineNielsPoint {
pub y_plus_x: FieldElement51,
pub y_minus_x: FieldElement51,
pub xy2d: FieldElement51,
}

A pre-computed point in the affine model for the curve, represented as $$(y+x, y-x, 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: FieldElement51xy2d: FieldElement51

## Trait Implementations

### impl Clone for AffineNielsPoint[src]

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

Performs copy-assignment from source. Read more

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

#### type Output = CompletedPoint

The resulting type after applying the + operator.

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

#### type Output = CompletedPoint

The resulting type after applying the - operator.

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

#### type Output = AffineNielsPoint

The resulting type after applying the - operator.

### impl ConditionallySelectable for AffineNielsPoint[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