Struct k256::AffinePoint [−][src]
pub struct AffinePoint { /* fields omitted */ }
arithmetic
only.Expand description
A point on the secp256k1 curve in affine coordinates.
Trait Implementations
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the +
operator.
Performs the +
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Determine if two items are equal. Read more
Attempt to decompress an elliptic curve point.
Performs the conversion.
Performs the conversion.
Returns the SEC1 compressed encoding of this point.
Performs the conversion.
Performs the conversion.
Attempts to parse the given EncodedPoint
as an SEC1-encoded AffinePoint
.
Returns
None
value if encoded_point
is not on the secp256k1 curve.
type Repr = CompressedPoint
type Repr = CompressedPoint
The encoding of group elements. Read more
Attempts to deserialize a group element from its encoding.
Attempts to deserialize a group element, not checking if the element is valid. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = ProjectivePoint
type Output = ProjectivePoint
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
Serialize this value as a SEC1 EncodedPoint
, optionally applying
point compression. Read more
Auto Trait Implementations
impl RefUnwindSafe for AffinePoint
impl Send for AffinePoint
impl Sync for AffinePoint
impl Unpin for AffinePoint
impl UnwindSafe for AffinePoint
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self