pub struct G1Affine { /* private fields */ }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the additive identity.
Returns a fixed generator of unknown exponent.
Determines if this point represents the point at infinity; the additive identity.
Performs scalar multiplication of this element with mixed addition.
Negates this element.
Prepares this element for pairing purposes.
Perform a pairing
Converts this element into its affine representation.
Returns references to underlying X and Y coordinates. Users should check for infinity outside of this call
Returns underlying X and Y coordinates. Users should check for infinity outside of this call
Creates a point from raw X and Y coordinates. Point of infinity is encoded as (0,0) by default. On-curve check is NOT performed
Creates a point from raw X and Y coordinates. Point of infinity is encoded as (0,0) by default. On-curve check is performed
returns A coefficient for a short Weierstrass form
returns B coefficient for a short Weierstrass form
Converts this element into its compressed encoding, so long as it’s not the point at infinity.
Converts this element into its uncompressed encoding, so long as it’s not the point at infinity.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Converts this element into its uncompressed encoding, so long as it’s not the point at infinity. Leaves coordinates in Montgommery form
Creates a point from raw encoded coordinates without checking on curve
Creates a point from raw encoded coordinates
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.