Struct snarkvm_synthesizer_snark::UniversalSRS
source · pub struct UniversalSRS<N: Network> { /* private fields */ }
Implementations§
source§impl<N: Network> UniversalSRS<N>
impl<N: Network> UniversalSRS<N>
sourcepub fn to_circuit_key(
&self,
function_name: &str,
assignment: &Assignment<N::Field>
) -> Result<(ProvingKey<N>, VerifyingKey<N>)>
pub fn to_circuit_key( &self, function_name: &str, assignment: &Assignment<N::Field> ) -> Result<(ProvingKey<N>, VerifyingKey<N>)>
Returns the circuit proving and verifying key.
Trait Implementations§
source§impl<N: Clone + Network> Clone for UniversalSRS<N>where
N::PairingCurve: Clone,
impl<N: Clone + Network> Clone for UniversalSRS<N>where
N::PairingCurve: Clone,
source§fn clone(&self) -> UniversalSRS<N>
fn clone(&self) -> UniversalSRS<N>
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<N: Network> Deref for UniversalSRS<N>
impl<N: Network> Deref for UniversalSRS<N>
source§impl<N: Network> FromBytes for UniversalSRS<N>
impl<N: Network> FromBytes for UniversalSRS<N>
Auto Trait Implementations§
impl<N> !RefUnwindSafe for UniversalSRS<N>
impl<N> Send for UniversalSRS<N>
impl<N> Sync for UniversalSRS<N>
impl<N> Unpin for UniversalSRS<N>
impl<N> !UnwindSafe for UniversalSRS<N>
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