Struct dusk_jubjub::ExtendedNielsPoint [−][src]
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]
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]
impl<'a, 'b> Add<&'b ExtendedNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, other: &'b ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'b> Add<&'b ExtendedNielsPoint> for JubJubExtended
[src]
impl<'b> Add<&'b ExtendedNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: &'b ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'a> Add<ExtendedNielsPoint> for &'a JubJubExtended
[src]
impl<'a> Add<ExtendedNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: ExtendedNielsPoint) -> JubJubExtended
[src]
impl Add<ExtendedNielsPoint> for JubJubExtended
[src]
impl Add<ExtendedNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'b> AddAssign<&'b ExtendedNielsPoint> for JubJubExtended
[src]
impl<'b> AddAssign<&'b ExtendedNielsPoint> for JubJubExtended
[src]fn add_assign(&mut self, rhs: &'b ExtendedNielsPoint)
[src]
impl AddAssign<ExtendedNielsPoint> for JubJubExtended
[src]
impl AddAssign<ExtendedNielsPoint> for JubJubExtended
[src]fn add_assign(&mut self, rhs: ExtendedNielsPoint)
[src]
impl Clone for ExtendedNielsPoint
[src]
impl Clone for ExtendedNielsPoint
[src]fn clone(&self) -> ExtendedNielsPoint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConditionallySelectable for ExtendedNielsPoint
[src]
impl ConditionallySelectable for ExtendedNielsPoint
[src]fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
[src]
pub fn conditional_assign(&mut self, other: &Self, choice: Choice)
[src]
pub fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
[src]
impl Copy for ExtendedNielsPoint
[src]
impl Copy for ExtendedNielsPoint
[src]impl<'a, 'b> Mul<&'b Fr> for &'a ExtendedNielsPoint
[src]
impl<'a, 'b> Mul<&'b Fr> for &'a ExtendedNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, other: &'b Fr) -> JubJubExtended
[src]
impl<'b> Mul<&'b Fr> for ExtendedNielsPoint
[src]
impl<'b> Mul<&'b Fr> for ExtendedNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, rhs: &'b Fr) -> JubJubExtended
[src]
impl<'a> Mul<Fr> for &'a ExtendedNielsPoint
[src]
impl<'a> Mul<Fr> for &'a ExtendedNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> JubJubExtended
[src]
impl Mul<Fr> for ExtendedNielsPoint
[src]
impl Mul<Fr> for ExtendedNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> JubJubExtended
[src]
impl<'a, 'b> Sub<&'b ExtendedNielsPoint> for &'a JubJubExtended
[src]
impl<'a, 'b> Sub<&'b ExtendedNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, other: &'b ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'b> Sub<&'b ExtendedNielsPoint> for JubJubExtended
[src]
impl<'b> Sub<&'b ExtendedNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: &'b ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'a> Sub<ExtendedNielsPoint> for &'a JubJubExtended
[src]
impl<'a> Sub<ExtendedNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: ExtendedNielsPoint) -> JubJubExtended
[src]
impl Sub<ExtendedNielsPoint> for JubJubExtended
[src]
impl Sub<ExtendedNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: ExtendedNielsPoint) -> JubJubExtended
[src]
impl<'b> SubAssign<&'b ExtendedNielsPoint> for JubJubExtended
[src]
impl<'b> SubAssign<&'b ExtendedNielsPoint> for JubJubExtended
[src]fn sub_assign(&mut self, rhs: &'b ExtendedNielsPoint)
[src]
impl SubAssign<ExtendedNielsPoint> for JubJubExtended
[src]
impl SubAssign<ExtendedNielsPoint> for JubJubExtended
[src]fn sub_assign(&mut self, rhs: ExtendedNielsPoint)
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtendedNielsPoint
impl RefUnwindSafe for ExtendedNielsPoint
impl Send for ExtendedNielsPoint
impl Send for ExtendedNielsPoint
impl Sync for ExtendedNielsPoint
impl Sync for ExtendedNielsPoint
impl Unpin for ExtendedNielsPoint
impl Unpin for ExtendedNielsPoint
impl UnwindSafe for ExtendedNielsPoint
impl UnwindSafe for ExtendedNielsPoint