[][src]Struct dusk_jubjub::ExtendedNielsPoint

pub struct ExtendedNielsPoint { /* fields omitted */ }

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

Implementations

impl ExtendedNielsPoint[src]

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

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

pub fn multiply_bits(&self, by: &[u8; 32]) -> JubJubExtended[src]

Multiplies this point by the specific little-endian bit pattern in the given byte array, ignoring the highest four bits.

Trait Implementations

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

type Output = JubJubExtended

The resulting type after applying the + operator.

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

type Output = JubJubExtended

The resulting type after applying the + operator.

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

type Output = JubJubExtended

The resulting type after applying the + operator.

impl Add<ExtendedNielsPoint> for JubJubExtended[src]

type Output = JubJubExtended

The resulting type after applying the + operator.

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

impl AddAssign<ExtendedNielsPoint> for JubJubExtended[src]

impl Clone for ExtendedNielsPoint[src]

impl ConditionallySelectable for ExtendedNielsPoint[src]

impl Copy for ExtendedNielsPoint[src]

impl Debug for ExtendedNielsPoint[src]

impl<'a, 'b> Mul<&'b Fr> for &'a ExtendedNielsPoint[src]

type Output = JubJubExtended

The resulting type after applying the * operator.

impl<'b> Mul<&'b Fr> for ExtendedNielsPoint[src]

type Output = JubJubExtended

The resulting type after applying the * operator.

impl<'a> Mul<Fr> for &'a ExtendedNielsPoint[src]

type Output = JubJubExtended

The resulting type after applying the * operator.

impl Mul<Fr> for ExtendedNielsPoint[src]

type Output = JubJubExtended

The resulting type after applying the * operator.

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

type Output = JubJubExtended

The resulting type after applying the - operator.

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

type Output = JubJubExtended

The resulting type after applying the - operator.

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

type Output = JubJubExtended

The resulting type after applying the - operator.

impl Sub<ExtendedNielsPoint> for JubJubExtended[src]

type Output = JubJubExtended

The resulting type after applying the - operator.

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

impl SubAssign<ExtendedNielsPoint> for JubJubExtended[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

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.