pub struct SetupParams<E: Pairing> {
pub b: E::ScalarField,
pub b_inv: E::ScalarField,
pub g: E::G1Affine,
pub g_inv: E::G1Prepared,
pub h_inv: E::G2Prepared,
pub h: E::G2Affine,
}Fields§
§b: E::ScalarField§b_inv: E::ScalarField§g: E::G1Affine§g_inv: E::G1Prepared§h_inv: E::G2Prepared§h: E::G2AffineTrait Implementations§
Source§impl<E: Clone + Pairing> Clone for SetupParams<E>where
E::ScalarField: Clone,
E::G1Affine: Clone,
E::G1Prepared: Clone,
E::G2Prepared: Clone,
E::G2Affine: Clone,
impl<E: Clone + Pairing> Clone for SetupParams<E>where
E::ScalarField: Clone,
E::G1Affine: Clone,
E::G1Prepared: Clone,
E::G2Prepared: Clone,
E::G2Affine: Clone,
Source§fn clone(&self) -> SetupParams<E>
fn clone(&self) -> SetupParams<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<E> Freeze for SetupParams<E>where
<E as Pairing>::ScalarField: Freeze,
<E as Pairing>::G1Affine: Freeze,
<E as Pairing>::G1Prepared: Freeze,
<E as Pairing>::G2Prepared: Freeze,
<E as Pairing>::G2Affine: Freeze,
impl<E> RefUnwindSafe for SetupParams<E>where
<E as Pairing>::ScalarField: RefUnwindSafe,
<E as Pairing>::G1Affine: RefUnwindSafe,
<E as Pairing>::G1Prepared: RefUnwindSafe,
<E as Pairing>::G2Prepared: RefUnwindSafe,
<E as Pairing>::G2Affine: RefUnwindSafe,
impl<E> Send for SetupParams<E>
impl<E> Sync for SetupParams<E>
impl<E> Unpin for SetupParams<E>where
<E as Pairing>::ScalarField: Unpin,
<E as Pairing>::G1Affine: Unpin,
<E as Pairing>::G1Prepared: Unpin,
<E as Pairing>::G2Prepared: Unpin,
<E as Pairing>::G2Affine: Unpin,
impl<E> UnsafeUnpin for SetupParams<E>where
<E as Pairing>::ScalarField: UnsafeUnpin,
<E as Pairing>::G1Affine: UnsafeUnpin,
<E as Pairing>::G1Prepared: UnsafeUnpin,
<E as Pairing>::G2Prepared: UnsafeUnpin,
<E as Pairing>::G2Affine: UnsafeUnpin,
impl<E> UnwindSafe for SetupParams<E>where
<E as Pairing>::ScalarField: UnwindSafe,
<E as Pairing>::G1Affine: UnwindSafe,
<E as Pairing>::G1Prepared: UnwindSafe,
<E as Pairing>::G2Prepared: UnwindSafe,
<E as Pairing>::G2Affine: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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