Struct dalek_test_curve_docs::backend::vector::ifma::edwards::ExtendedPoint
source · pub struct ExtendedPoint(_);
Implementations
sourceimpl ExtendedPoint
impl ExtendedPoint
pub fn double(&self) -> ExtendedPoint
pub fn mul_by_pow_2(&self, k: u32) -> ExtendedPoint
Trait Implementations
sourceimpl<'a, 'b> Add<&'b CachedPoint> for &'a ExtendedPoint
impl<'a, 'b> Add<&'b CachedPoint> for &'a ExtendedPoint
sourcefn add(self, other: &'b CachedPoint) -> ExtendedPoint
fn add(self, other: &'b CachedPoint) -> ExtendedPoint
Add an ExtendedPoint
and a CachedPoint
.
type Output = ExtendedPoint
type Output = ExtendedPoint
The resulting type after applying the
+
operator.sourceimpl Clone for ExtendedPoint
impl Clone for ExtendedPoint
sourcefn clone(&self) -> ExtendedPoint
fn clone(&self) -> ExtendedPoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtendedPoint
impl Debug for ExtendedPoint
sourceimpl Default for ExtendedPoint
impl Default for ExtendedPoint
sourcefn default() -> ExtendedPoint
fn default() -> ExtendedPoint
Returns the “default value” for a type. Read more
sourceimpl From<EdwardsPoint> for ExtendedPoint
impl From<EdwardsPoint> for ExtendedPoint
sourcefn from(P: EdwardsPoint) -> ExtendedPoint
fn from(P: EdwardsPoint) -> ExtendedPoint
Converts to this type from the input type.
sourceimpl From<ExtendedPoint> for CachedPoint
impl From<ExtendedPoint> for CachedPoint
sourcefn from(P: ExtendedPoint) -> CachedPoint
fn from(P: ExtendedPoint) -> CachedPoint
Converts to this type from the input type.
sourceimpl From<ExtendedPoint> for EdwardsPoint
impl From<ExtendedPoint> for EdwardsPoint
sourcefn from(P: ExtendedPoint) -> EdwardsPoint
fn from(P: ExtendedPoint) -> EdwardsPoint
Converts to this type from the input type.
sourceimpl Identity for ExtendedPoint
impl Identity for ExtendedPoint
sourcefn identity() -> ExtendedPoint
fn identity() -> ExtendedPoint
Returns the identity element of the curve.
Can be used as a constructor. Read more
sourceimpl<'a, 'b> Sub<&'b CachedPoint> for &'a ExtendedPoint
impl<'a, 'b> Sub<&'b CachedPoint> for &'a ExtendedPoint
sourcefn sub(self, other: &'b CachedPoint) -> ExtendedPoint
fn sub(self, other: &'b CachedPoint) -> ExtendedPoint
Implement subtraction by negating the point and adding.
type Output = ExtendedPoint
type Output = ExtendedPoint
The resulting type after applying the
-
operator.impl Copy for ExtendedPoint
Auto Trait Implementations
impl RefUnwindSafe for ExtendedPoint
impl Send for ExtendedPoint
impl Sync for ExtendedPoint
impl Unpin for ExtendedPoint
impl UnwindSafe for ExtendedPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more