pub struct G2Compressed(/* private fields */);
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 Freeze for G2Compressed
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)