pub struct Coordinates<E: Curve> {
pub x: Coordinate<E>,
pub y: Coordinate<E>,
}
Expand description
Affine $x, y$ coordinates of a point on elliptic curve
Fields§
§x: Coordinate<E>
Affine $x$ coordinate of a point
y: Coordinate<E>
Affine $y$ coordinate of a point
Trait Implementations§
Source§impl<E: Clone + Curve> Clone for Coordinates<E>
impl<E: Clone + Curve> Clone for Coordinates<E>
Source§fn clone(&self) -> Coordinates<E>
fn clone(&self) -> Coordinates<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E: Ord + Curve> Ord for Coordinates<E>
impl<E: Ord + Curve> Ord for Coordinates<E>
Source§fn cmp(&self, other: &Coordinates<E>) -> Ordering
fn cmp(&self, other: &Coordinates<E>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<E: PartialOrd + Curve> PartialOrd for Coordinates<E>
impl<E: PartialOrd + Curve> PartialOrd for Coordinates<E>
impl<E: Eq + Curve> Eq for Coordinates<E>
impl<E: Curve> StructuralPartialEq for Coordinates<E>
Auto Trait Implementations§
impl<E> Freeze for Coordinates<E>
impl<E> RefUnwindSafe for Coordinates<E>
impl<E> Send for Coordinates<E>
impl<E> Sync for Coordinates<E>
impl<E> Unpin for Coordinates<E>
impl<E> UnwindSafe for Coordinates<E>
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