[−][src]Struct dusk_jubjub::AffineNielsPoint
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
ExtendedPoint
.
Implementations
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]) -> ExtendedPoint
[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 ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the +
operator.
fn add(self, other: &'b AffineNielsPoint) -> ExtendedPoint
[src]
impl<'b> Add<&'b AffineNielsPoint> for ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the +
operator.
fn add(self, rhs: &'b AffineNielsPoint) -> ExtendedPoint
[src]
impl<'a> Add<AffineNielsPoint> for &'a ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the +
operator.
fn add(self, rhs: AffineNielsPoint) -> ExtendedPoint
[src]
impl Add<AffineNielsPoint> for ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the +
operator.
fn add(self, rhs: AffineNielsPoint) -> ExtendedPoint
[src]
impl<'b> AddAssign<&'b AffineNielsPoint> for ExtendedPoint
[src]
fn add_assign(&mut self, rhs: &'b AffineNielsPoint)
[src]
impl AddAssign<AffineNielsPoint> for ExtendedPoint
[src]
fn add_assign(&mut self, rhs: AffineNielsPoint)
[src]
impl Clone for AffineNielsPoint
[src]
fn clone(&self) -> AffineNielsPoint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConditionallySelectable for AffineNielsPoint
[src]
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
[src]
fn conditional_assign(&mut self, other: &Self, choice: Choice)
[src]
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
[src]
impl Copy for AffineNielsPoint
[src]
impl Debug for AffineNielsPoint
[src]
impl<'a, 'b> Mul<&'b Fr> for &'a AffineNielsPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the *
operator.
fn mul(self, other: &'b Fr) -> ExtendedPoint
[src]
impl<'b> Mul<&'b Fr> for AffineNielsPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the *
operator.
fn mul(self, rhs: &'b Fr) -> ExtendedPoint
[src]
impl<'a> Mul<Fr> for &'a AffineNielsPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> ExtendedPoint
[src]
impl Mul<Fr> for AffineNielsPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the *
operator.
fn mul(self, rhs: Fr) -> ExtendedPoint
[src]
impl<'a, 'b> Sub<&'b AffineNielsPoint> for &'a ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the -
operator.
fn sub(self, other: &'b AffineNielsPoint) -> ExtendedPoint
[src]
impl<'b> Sub<&'b AffineNielsPoint> for ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the -
operator.
fn sub(self, rhs: &'b AffineNielsPoint) -> ExtendedPoint
[src]
impl<'a> Sub<AffineNielsPoint> for &'a ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the -
operator.
fn sub(self, rhs: AffineNielsPoint) -> ExtendedPoint
[src]
impl Sub<AffineNielsPoint> for ExtendedPoint
[src]
type Output = ExtendedPoint
The resulting type after applying the -
operator.
fn sub(self, rhs: AffineNielsPoint) -> ExtendedPoint
[src]
impl<'b> SubAssign<&'b AffineNielsPoint> for ExtendedPoint
[src]
fn sub_assign(&mut self, rhs: &'b AffineNielsPoint)
[src]
impl SubAssign<AffineNielsPoint> for ExtendedPoint
[src]
fn sub_assign(&mut self, rhs: AffineNielsPoint)
[src]
Auto Trait Implementations
impl RefUnwindSafe for AffineNielsPoint
impl Send for AffineNielsPoint
impl Sync for AffineNielsPoint
impl Unpin for AffineNielsPoint
impl UnwindSafe for AffineNielsPoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,