[−][src]Struct bbs::GeneratorG1
Wrapper for G1
Implementations
impl GeneratorG1
[src]
pub fn to_bytes_compressed_form(&self) -> [u8; 48]
[src]
Convert to raw bytes compressed form
pub fn to_bytes_uncompressed_form(&self) -> [u8; 96]
[src]
Convert to raw bytes uncompressed form
Trait Implementations
impl AsRef<G1> for GeneratorG1
[src]
impl Clone for GeneratorG1
[src]
fn clone(&self) -> GeneratorG1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GeneratorG1
[src]
impl Debug for GeneratorG1
[src]
impl<'a> Deserialize<'a> for GeneratorG1
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]
D: Deserializer<'a>,
impl Display for GeneratorG1
[src]
impl Eq for GeneratorG1
[src]
impl<'_> From<&'_ [u8; 48]> for GeneratorG1
[src]
impl<'_> From<&'_ [u8; 96]> for GeneratorG1
[src]
impl<'_> From<&'_ G1> for GeneratorG1
[src]
impl From<[u8; 48]> for GeneratorG1
[src]
impl From<[u8; 96]> for GeneratorG1
[src]
impl From<G1> for GeneratorG1
[src]
impl HashElem for GeneratorG1
[src]
type Output = GeneratorG1
The type that implements this trait
fn hash<I: AsRef<[u8]>>(data: I) -> Self::Output
[src]
impl PartialEq<GeneratorG1> for GeneratorG1
[src]
fn eq(&self, other: &GeneratorG1) -> bool
[src]
fn ne(&self, other: &GeneratorG1) -> bool
[src]
impl RandomElem for GeneratorG1
[src]
impl Serialize for GeneratorG1
[src]
impl StructuralEq for GeneratorG1
[src]
impl StructuralPartialEq for GeneratorG1
[src]
impl<'_> TryFrom<&'_ [u8]> for GeneratorG1
[src]
type Error = BBSError
The type returned in the event of a conversion error.
fn try_from(value: &[u8]) -> Result<Self, Self::Error>
[src]
impl TryFrom<Vec<u8>> for GeneratorG1
[src]
Auto Trait Implementations
impl RefUnwindSafe for GeneratorG1
impl Send for GeneratorG1
impl Sync for GeneratorG1
impl Unpin for GeneratorG1
impl UnwindSafe for GeneratorG1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,