pub struct G1Compressed(/* private fields */);
Trait Implementations§
Source§impl AsMut<[u8]> for G1Compressed
impl AsMut<[u8]> for G1Compressed
Source§impl AsRef<[u8]> for G1Compressed
impl AsRef<[u8]> for G1Compressed
Source§impl Clone for G1Compressed
impl Clone for G1Compressed
Source§fn clone(&self) -> G1Compressed
fn clone(&self) -> G1Compressed
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 G1Compressed
impl Debug for G1Compressed
Source§impl EncodedPoint for G1Compressed
impl EncodedPoint for G1Compressed
type Affine = G1Affine
Source§fn 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.Source§fn 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 moreSource§fn 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.impl Copy for G1Compressed
Auto Trait Implementations§
impl Freeze for G1Compressed
impl RefUnwindSafe for G1Compressed
impl Send for G1Compressed
impl Sync for G1Compressed
impl Unpin for G1Compressed
impl UnwindSafe for G1Compressed
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
)