Struct pairing_ce::bls12_381::G2Compressed
source · pub struct G2Compressed(_);
Trait Implementations
sourceimpl AsMut<[u8]> for G2Compressed
impl AsMut<[u8]> for G2Compressed
sourceimpl AsRef<[u8]> for G2Compressed
impl AsRef<[u8]> for G2Compressed
sourceimpl Clone for G2Compressed
impl Clone for G2Compressed
sourcefn clone(&self) -> G2Compressed
fn clone(&self) -> G2Compressed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for G2Compressed
impl Debug for G2Compressed
sourceimpl EncodedPoint for G2Compressed
impl EncodedPoint for G2Compressed
type Affine = G2Affine
sourcefn 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. Read moresourcefn 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 moresourcefn 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. Read moreimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere
T: AsRef<[u8]>,
sourcefn 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
) Read moresourcefn 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
) Read more