Struct kimchi_msm::precomputed_srs::TestPairingSRS
source · pub struct TestPairingSRS<Pair: Pairing> {
pub full_srs: TestSRS<Pair::G1Affine>,
pub verifier_srs: TestSRS<Pair::G2Affine>,
}
Expand description
A clone of the PairingSRS
that is serialized in a test-optimised way.
Fields§
§full_srs: TestSRS<Pair::G1Affine>
§verifier_srs: TestSRS<Pair::G2Affine>
Trait Implementations§
source§impl<Pair: Clone + Pairing> Clone for TestPairingSRS<Pair>where
Pair::G1Affine: Clone,
Pair::G2Affine: Clone,
impl<Pair: Clone + Pairing> Clone for TestPairingSRS<Pair>where Pair::G1Affine: Clone, Pair::G2Affine: Clone,
source§fn clone(&self) -> TestPairingSRS<Pair>
fn clone(&self) -> TestPairingSRS<Pair>
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<Pair: Debug + Pairing> Debug for TestPairingSRS<Pair>where
Pair::G1Affine: Debug,
Pair::G2Affine: Debug,
impl<Pair: Debug + Pairing> Debug for TestPairingSRS<Pair>where Pair::G1Affine: Debug, Pair::G2Affine: Debug,
source§impl<Pair: Default + Pairing> Default for TestPairingSRS<Pair>where
Pair::G1Affine: Default,
Pair::G2Affine: Default,
impl<Pair: Default + Pairing> Default for TestPairingSRS<Pair>where Pair::G1Affine: Default, Pair::G2Affine: Default,
source§fn default() -> TestPairingSRS<Pair>
fn default() -> TestPairingSRS<Pair>
Returns the “default value” for a type. Read more
source§impl<'de, Pair: Pairing> Deserialize<'de> for TestPairingSRS<Pair>
impl<'de, Pair: Pairing> Deserialize<'de> for TestPairingSRS<Pair>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<Pair: Pairing> From<PairingSRS<Pair>> for TestPairingSRS<Pair>
impl<Pair: Pairing> From<PairingSRS<Pair>> for TestPairingSRS<Pair>
source§impl<Pair: Pairing> From<TestPairingSRS<Pair>> for PairingSRS<Pair>
impl<Pair: Pairing> From<TestPairingSRS<Pair>> for PairingSRS<Pair>
source§fn from(value: TestPairingSRS<Pair>) -> Self
fn from(value: TestPairingSRS<Pair>) -> Self
Converts to this type from the input type.
source§impl<Pair: PartialEq + Pairing> PartialEq<TestPairingSRS<Pair>> for TestPairingSRS<Pair>where
Pair::G1Affine: PartialEq,
Pair::G2Affine: PartialEq,
impl<Pair: PartialEq + Pairing> PartialEq<TestPairingSRS<Pair>> for TestPairingSRS<Pair>where Pair::G1Affine: PartialEq, Pair::G2Affine: PartialEq,
source§fn eq(&self, other: &TestPairingSRS<Pair>) -> bool
fn eq(&self, other: &TestPairingSRS<Pair>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Pair: Pairing> Serialize for TestPairingSRS<Pair>
impl<Pair: Pairing> Serialize for TestPairingSRS<Pair>
impl<Pair: Eq + Pairing> Eq for TestPairingSRS<Pair>where Pair::G1Affine: Eq, Pair::G2Affine: Eq,
impl<Pair: Pairing> StructuralEq for TestPairingSRS<Pair>
impl<Pair: Pairing> StructuralPartialEq for TestPairingSRS<Pair>
Auto Trait Implementations§
impl<Pair> RefUnwindSafe for TestPairingSRS<Pair>where <Pair as Pairing>::G1Affine: RefUnwindSafe, <Pair as Pairing>::G2Affine: RefUnwindSafe,
impl<Pair> Send for TestPairingSRS<Pair>
impl<Pair> Sync for TestPairingSRS<Pair>
impl<Pair> Unpin for TestPairingSRS<Pair>where <Pair as Pairing>::G1Affine: Unpin, <Pair as Pairing>::G2Affine: Unpin,
impl<Pair> UnwindSafe for TestPairingSRS<Pair>where <Pair as Pairing>::G1Affine: UnwindSafe, <Pair 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more