[][src]Struct fawkes_crypto_powersoftau::parameters::CurveParams

pub struct CurveParams<E> {
    pub g1: usize,
    pub g2: usize,
    pub g1_compressed: usize,
    pub g2_compressed: usize,
    // some fields omitted
}

The sizes of the group elements of a curev

Fields

g1: usize

Size of a G1 Element

g2: usize

Size of a G2 Element

g1_compressed: usize

Size of a compressed G1 Element

g2_compressed: usize

Size of a compressed G2 Element

Implementations

impl<E: Engine> CurveParams<E>[src]

pub fn new() -> CurveParams<E>[src]

Trait Implementations

impl<E: Clone> Clone for CurveParams<E>[src]

impl<E: Default> Default for CurveParams<E>[src]

impl<E: Eq> Eq for CurveParams<E>[src]

impl<E: PartialEq> PartialEq<CurveParams<E>> for CurveParams<E>[src]

impl<E> StructuralEq for CurveParams<E>[src]

impl<E> StructuralPartialEq for CurveParams<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for CurveParams<E> where
    E: RefUnwindSafe

impl<E> Send for CurveParams<E> where
    E: Send

impl<E> Sync for CurveParams<E> where
    E: Sync

impl<E> Unpin for CurveParams<E> where
    E: Unpin

impl<E> UnwindSafe for CurveParams<E> where
    E: UnwindSafe

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> From<T> for T[src]

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

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

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, 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.