#[repr(transparent)]pub struct Point(pub EdwardsPoint);Available on crate feature
ed25519 only.Expand description
Ed25519 point
Tuple Fields§
§0: EdwardsPointTrait Implementations§
Source§impl CompressedEncoding for Point
impl CompressedEncoding for Point
Source§impl ConditionallySelectable for Point
impl ConditionallySelectable for Point
Source§fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
Source§fn conditional_assign(&mut self, other: &Self, choice: Choice)
fn conditional_assign(&mut self, other: &Self, choice: Choice)
Source§fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
Conditionally swap
self and other if choice == 1; otherwise,
reassign both unto themselves. Read moreSource§impl ConstantTimeEq for Point
impl ConstantTimeEq for Point
Source§impl From<CurveGenerator> for Point
impl From<CurveGenerator> for Point
Source§fn from(_: CurveGenerator) -> Self
fn from(_: CurveGenerator) -> Self
Converts to this type from the input type.
Source§impl Multiplicative<Point> for Scalar
impl Multiplicative<Point> for Scalar
Source§impl OnCurve for Point
impl OnCurve for Point
Source§fn is_on_curve(&self) -> Choice
fn is_on_curve(&self) -> Choice
Checks whether the point is on curve
Source§impl Ord for Point
impl Ord for Point
Source§impl PartialOrd for Point
impl PartialOrd for Point
Source§impl SmallFactor for Point
impl SmallFactor for Point
Source§fn is_torsion_free(&self) -> Choice
fn is_torsion_free(&self) -> Choice
Checks whether a point has no small factor
Source§impl UncompressedEncoding for Point
impl UncompressedEncoding for Point
impl Copy for Point
impl Eq for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more