Struct pairing::bls12_381::G2Compressed
[−]
[src]
pub struct G2Compressed(_);
Trait Implementations
impl Copy for G2Compressed
[src]
impl Clone for G2Compressed
[src]
fn clone(&self) -> G2Compressed
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<[u8]> for G2Compressed
[src]
impl AsMut<[u8]> for G2Compressed
[src]
impl Debug for G2Compressed
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl EncodedPoint for G2Compressed
[src]
type Affine = G2Affine
fn empty() -> Self
[src]
Creates an empty representation.
fn size() -> usize
[src]
Returns the number of bytes consumed by this representation.
fn into_affine(&self) -> Result<G2Affine, GroupDecodingError>
[src]
Converts an EncodedPoint
into a CurveAffine
element, if the encoding represents a valid element. Read more
fn into_affine_unchecked(&self) -> Result<G2Affine, GroupDecodingError>
[src]
Converts an EncodedPoint
into a CurveAffine
element, without guaranteeing that the encoding represents a valid element. This is useful when the caller knows the encoding is valid already. Read more
fn from_affine(affine: G2Affine) -> Self
[src]
Creates an EncodedPoint
from an affine point, as long as the point is not the point at infinity. Read more