Struct pairing_ce::bls12_381::G2Compressed [−][src]
pub struct G2Compressed(_);
Trait Implementations
impl Clone for G2Compressed
[src]
impl Clone for G2Compressed
[src]fn clone(&self) -> G2Compressed
[src]
fn clone(&self) -> G2Compressed
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for G2Compressed
[src]
impl Debug for G2Compressed
[src]impl EncodedPoint for G2Compressed
[src]
impl EncodedPoint for G2Compressed
[src]type Affine = G2Affine
fn into_affine(&self) -> Result<G2Affine, GroupDecodingError>
[src]
fn into_affine(&self) -> Result<G2Affine, GroupDecodingError>
[src]Converts an EncodedPoint
into a CurveAffine
element,
if the encoding represents a valid element. Read more
fn into_affine_unchecked(&self) -> Result<G2Affine, GroupDecodingError>
[src]
fn into_affine_unchecked(&self) -> Result<G2Affine, GroupDecodingError>
[src]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 more
fn from_affine(affine: G2Affine) -> Self
[src]
fn from_affine(affine: G2Affine) -> Self
[src]Creates an EncodedPoint
from an affine point, as long as the
point is not the point at infinity. Read more
impl Copy for G2Compressed
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]Encode the hex strict representing self
into the result. Lower case
letters are used (e.g. f9b4ca
) Read more
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]Encode the hex strict representing self
into the result. Upper case
letters are used (e.g. F9B4CA
) Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more