Struct pairing_ce::bn256::G2Compressed
source · pub struct G2Compressed(_);
Trait Implementations§
source§impl AsMut<[u8]> for G2Compressed
impl AsMut<[u8]> for G2Compressed
source§impl AsRef<[u8]> for G2Compressed
impl AsRef<[u8]> for G2Compressed
source§impl Clone for G2Compressed
impl Clone for G2Compressed
source§fn clone(&self) -> G2Compressed
fn clone(&self) -> G2Compressed
Returns a copy 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 Debug for G2Compressed
impl Debug for G2Compressed
source§impl EncodedPoint for G2Compressed
impl EncodedPoint for G2Compressed
type Affine = G2Affine
source§fn into_affine(&self) -> Result<G2Affine, GroupDecodingError>
fn into_affine(&self) -> Result<G2Affine, GroupDecodingError>
Converts an
EncodedPoint
into a CurveAffine
element,
if the encoding represents a valid element.source§fn into_affine_unchecked(&self) -> Result<G2Affine, GroupDecodingError>
fn into_affine_unchecked(&self) -> Result<G2Affine, GroupDecodingError>
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 moresource§fn from_affine(affine: G2Affine) -> Self
fn from_affine(affine: G2Affine) -> Self
Creates an
EncodedPoint
from an affine point, as long as the
point is not the point at infinity.impl Copy for G2Compressed
Auto Trait Implementations§
impl RefUnwindSafe for G2Compressed
impl Send for G2Compressed
impl Sync for G2Compressed
impl Unpin for G2Compressed
impl UnwindSafe for G2Compressed
Blanket Implementations§
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere
T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)