[][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 Identity for AffineNielsPoint[src]

impl Clone for AffineNielsPoint[src]

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

Performs copy-assignment from source. Read more

impl Debug for AffineNielsPoint[src]

impl PartialEq<AffineNielsPoint> for AffineNielsPoint[src]

impl Eq for AffineNielsPoint[src]

impl Copy for AffineNielsPoint[src]

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 Default for AffineNielsPoint[src]

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

Auto Trait Implementations

impl Send for AffineNielsPoint

impl Sync for AffineNielsPoint

Blanket Implementations

impl<T> From for T[src]

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

impl<T> FromCast for T

impl<T, U> Cast for T where
    U: FromCast<T>, 

impl<T, U> IntoBits for T where
    U: FromBits<T>, 

impl<T> FromBits for T

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> Same for T

type Output = T

Should always be Self

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