Struct pairing_ce::compact_bn256::G1Compressed
source · pub struct G1Compressed(_);
Trait Implementations
sourceimpl AsMut<[u8]> for G1Compressed
impl AsMut<[u8]> for G1Compressed
sourceimpl AsRef<[u8]> for G1Compressed
impl AsRef<[u8]> for G1Compressed
sourceimpl Clone for G1Compressed
impl Clone for G1Compressed
sourcefn clone(&self) -> G1Compressed
fn clone(&self) -> G1Compressed
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 G1Compressed
impl Debug for G1Compressed
sourceimpl EncodedPoint for G1Compressed
impl EncodedPoint for G1Compressed
type Affine = G1Affine
sourcefn into_affine(&self) -> Result<G1Affine, GroupDecodingError>
fn into_affine(&self) -> Result<G1Affine, GroupDecodingError>
Converts an
EncodedPoint
into a CurveAffine
element,
if the encoding represents a valid element. Read moresourcefn into_affine_unchecked(&self) -> Result<G1Affine, GroupDecodingError>
fn into_affine_unchecked(&self) -> Result<G1Affine, 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: G1Affine) -> Self
fn from_affine(affine: G1Affine) -> Self
Creates an
EncodedPoint
from an affine point, as long as the
point is not the point at infinity. Read moreimpl Copy for G1Compressed
Auto Trait Implementations
impl RefUnwindSafe for G1Compressed
impl Send for G1Compressed
impl Sync for G1Compressed
impl Unpin for G1Compressed
impl UnwindSafe for G1Compressed
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