MCPcopy Create free account
hub / github.com/docknetwork/crypto / as_ref

Method as_ref

syra/src/setup.rs:44–46  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

42
43impl<E: Pairing> AsRef<E::G1Affine> for SetupParams<E> {
44 fn as_ref(&self) -> &E::G1Affine {
45 &self.g
46 }
47}
48
49#[cfg_attr(feature = "serde", cfg_eval::cfg_eval, serde_with::serde_as)]

Callers 3

output_verifyFunction · 0.45
newMethod · 0.45
verifyMethod · 0.45

Calls

no outgoing calls

Tested by 1

output_verifyFunction · 0.36