pub struct CompressedPointY(/* private fields */);Expand description
In “Ed25519” format, the curve point (x,y) is
determined by the y-coordinate and the sign of x.
The first 255 bits of a CompressedEdwardsY represent the y-coordinate.
The high bit of the 32nd byte gives the sign of x.
Trait Implementations§
Source§impl AsRef<[u8]> for CompressedPointY
impl AsRef<[u8]> for CompressedPointY
Source§impl Clone for CompressedPointY
impl Clone for CompressedPointY
Source§fn clone(&self) -> CompressedPointY
fn clone(&self) -> CompressedPointY
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<Affine<Curve25519Config>> for CompressedPointY
impl From<Affine<Curve25519Config>> for CompressedPointY
Source§fn from(point: AffinePoint) -> Self
fn from(point: AffinePoint) -> Self
Converts to this type from the input type.
Source§impl From<CompressedPointY> for [u8; 32]
impl From<CompressedPointY> for [u8; 32]
Source§fn from(value: CompressedPointY) -> Self
fn from(value: CompressedPointY) -> Self
Converts to this type from the input type.
Source§impl Hash for CompressedPointY
impl Hash for CompressedPointY
impl Copy for CompressedPointY
Auto Trait Implementations§
impl Freeze for CompressedPointY
impl RefUnwindSafe for CompressedPointY
impl Send for CompressedPointY
impl Sync for CompressedPointY
impl Unpin for CompressedPointY
impl UnwindSafe for CompressedPointY
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