pub struct GeneratorG1(/* private fields */);
Expand description
Wrapper for G1
Implementations§
Source§impl GeneratorG1
impl GeneratorG1
Sourcepub fn to_bytes_compressed_form(&self) -> [u8; 48]
pub fn to_bytes_compressed_form(&self) -> [u8; 48]
Convert to raw bytes compressed form
Sourcepub fn to_bytes_uncompressed_form(&self) -> [u8; 96]
pub fn to_bytes_uncompressed_form(&self) -> [u8; 96]
Convert to raw bytes uncompressed form
Trait Implementations§
Source§impl AsRef<G1> for GeneratorG1
impl AsRef<G1> for GeneratorG1
Source§impl Clone for GeneratorG1
impl Clone for GeneratorG1
Source§fn clone(&self) -> GeneratorG1
fn clone(&self) -> GeneratorG1
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 GeneratorG1
impl Debug for GeneratorG1
Source§impl Default for GeneratorG1
impl Default for GeneratorG1
Source§impl<'a> Deserialize<'a> for GeneratorG1
impl<'a> Deserialize<'a> for GeneratorG1
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GeneratorG1
impl Display for GeneratorG1
Source§impl From<&G1> for GeneratorG1
impl From<&G1> for GeneratorG1
Source§impl From<G1> for GeneratorG1
impl From<G1> for GeneratorG1
Source§impl HashElem for GeneratorG1
impl HashElem for GeneratorG1
Source§impl PartialEq for GeneratorG1
impl PartialEq for GeneratorG1
Source§impl RandomElem for GeneratorG1
impl RandomElem for GeneratorG1
Source§impl Serialize for GeneratorG1
impl Serialize for GeneratorG1
Source§impl TryFrom<&[u8]> for GeneratorG1
impl TryFrom<&[u8]> for GeneratorG1
impl Copy for GeneratorG1
impl Eq for GeneratorG1
impl StructuralPartialEq for GeneratorG1
Auto Trait Implementations§
impl Freeze for GeneratorG1
impl RefUnwindSafe for GeneratorG1
impl Send for GeneratorG1
impl Sync for GeneratorG1
impl Unpin for GeneratorG1
impl UnwindSafe for GeneratorG1
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more