[][src]Struct bbs::GeneratorG1

pub struct 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]

impl Copy for GeneratorG1[src]

impl Debug for GeneratorG1[src]

impl<'a> Deserialize<'a> for GeneratorG1[src]

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

impl PartialEq<GeneratorG1> for GeneratorG1[src]

impl RandomElem for GeneratorG1[src]

type Output = GeneratorG1

The type that implements this trait

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.

impl TryFrom<Vec<u8>> for GeneratorG1[src]

type Error = BBSError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,