Struct dusk_jubjub::AffineNielsPoint [−][src]
pub struct AffineNielsPoint { /* fields omitted */ }
This is a pre-processed version of an affine point (x, y)
in the form (y + x, y - x, x * y * 2d)
. This can be added to an
JubJubExtended
.
Implementations
impl AffineNielsPoint
[src]
impl AffineNielsPoint
[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 AffineNielsPoint> for &'a JubJubExtended
[src]
impl<'a, 'b> Add<&'b AffineNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, other: &'b AffineNielsPoint) -> JubJubExtended
[src]
impl<'b> Add<&'b AffineNielsPoint> for JubJubExtended
[src]
impl<'b> Add<&'b AffineNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: &'b AffineNielsPoint) -> JubJubExtended
[src]
impl<'a> Add<AffineNielsPoint> for &'a JubJubExtended
[src]
impl<'a> Add<AffineNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: AffineNielsPoint) -> JubJubExtended
[src]
impl Add<AffineNielsPoint> for JubJubExtended
[src]
impl Add<AffineNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the +
operator.
fn add(self, rhs: AffineNielsPoint) -> JubJubExtended
[src]
impl<'b> AddAssign<&'b AffineNielsPoint> for JubJubExtended
[src]
impl<'b> AddAssign<&'b AffineNielsPoint> for JubJubExtended
[src]fn add_assign(&mut self, rhs: &'b AffineNielsPoint)
[src]
impl AddAssign<AffineNielsPoint> for JubJubExtended
[src]
impl AddAssign<AffineNielsPoint> for JubJubExtended
[src]fn add_assign(&mut self, rhs: AffineNielsPoint)
[src]
impl Clone for AffineNielsPoint
[src]
impl Clone for AffineNielsPoint
[src]fn clone(&self) -> AffineNielsPoint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConditionallySelectable for AffineNielsPoint
[src]
impl ConditionallySelectable for AffineNielsPoint
[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 AffineNielsPoint
[src]
impl Copy for AffineNielsPoint
[src]impl<'a, 'b> Mul<&'b Fr> for &'a AffineNielsPoint
[src]
impl<'a, 'b> Mul<&'b Fr> for &'a AffineNielsPoint
[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 AffineNielsPoint
[src]
impl<'b> Mul<&'b Fr> for AffineNielsPoint
[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 AffineNielsPoint
[src]
impl<'a> Mul<Fr> for &'a AffineNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> JubJubExtended
[src]
impl Mul<Fr> for AffineNielsPoint
[src]
impl Mul<Fr> for AffineNielsPoint
[src]type Output = JubJubExtended
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> JubJubExtended
[src]
impl<'a, 'b> Sub<&'b AffineNielsPoint> for &'a JubJubExtended
[src]
impl<'a, 'b> Sub<&'b AffineNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, other: &'b AffineNielsPoint) -> JubJubExtended
[src]
impl<'b> Sub<&'b AffineNielsPoint> for JubJubExtended
[src]
impl<'b> Sub<&'b AffineNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: &'b AffineNielsPoint) -> JubJubExtended
[src]
impl<'a> Sub<AffineNielsPoint> for &'a JubJubExtended
[src]
impl<'a> Sub<AffineNielsPoint> for &'a JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: AffineNielsPoint) -> JubJubExtended
[src]
impl Sub<AffineNielsPoint> for JubJubExtended
[src]
impl Sub<AffineNielsPoint> for JubJubExtended
[src]type Output = JubJubExtended
The resulting type after applying the -
operator.
fn sub(self, rhs: AffineNielsPoint) -> JubJubExtended
[src]
impl<'b> SubAssign<&'b AffineNielsPoint> for JubJubExtended
[src]
impl<'b> SubAssign<&'b AffineNielsPoint> for JubJubExtended
[src]fn sub_assign(&mut self, rhs: &'b AffineNielsPoint)
[src]
impl SubAssign<AffineNielsPoint> for JubJubExtended
[src]
impl SubAssign<AffineNielsPoint> for JubJubExtended
[src]fn sub_assign(&mut self, rhs: AffineNielsPoint)
[src]
Auto Trait Implementations
impl RefUnwindSafe for AffineNielsPoint
impl RefUnwindSafe for AffineNielsPoint
impl Send for AffineNielsPoint
impl Send for AffineNielsPoint
impl Sync for AffineNielsPoint
impl Sync for AffineNielsPoint
impl Unpin for AffineNielsPoint
impl Unpin for AffineNielsPoint
impl UnwindSafe for AffineNielsPoint
impl UnwindSafe for AffineNielsPoint