Struct snarkvm_algorithms::srs::universal_prover::UniversalProver
source · pub struct UniversalProver<E: PairingEngine> {
pub max_degree: usize,
pub _unused: Option<E>,
}
Expand description
UniversalProver
is used to compute evaluation proofs for a given commitment.
Fields§
§max_degree: usize
The maximum degree supported by the universal SRS.
_unused: Option<E>
Trait Implementations§
source§impl<E: Clone + PairingEngine> Clone for UniversalProver<E>
impl<E: Clone + PairingEngine> Clone for UniversalProver<E>
source§fn clone(&self) -> UniversalProver<E>
fn clone(&self) -> UniversalProver<E>
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<E: Debug + PairingEngine> Debug for UniversalProver<E>
impl<E: Debug + PairingEngine> Debug for UniversalProver<E>
source§impl<E: Default + PairingEngine> Default for UniversalProver<E>
impl<E: Default + PairingEngine> Default for UniversalProver<E>
source§fn default() -> UniversalProver<E>
fn default() -> UniversalProver<E>
Returns the “default value” for a type. Read more
source§impl<E: PartialEq + PairingEngine> PartialEq<UniversalProver<E>> for UniversalProver<E>
impl<E: PartialEq + PairingEngine> PartialEq<UniversalProver<E>> for UniversalProver<E>
source§fn eq(&self, other: &UniversalProver<E>) -> bool
fn eq(&self, other: &UniversalProver<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E: Eq + PairingEngine> Eq for UniversalProver<E>
impl<E: PairingEngine> StructuralEq for UniversalProver<E>
impl<E: PairingEngine> StructuralPartialEq for UniversalProver<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for UniversalProver<E>where E: RefUnwindSafe,
impl<E> Send for UniversalProver<E>
impl<E> Sync for UniversalProver<E>
impl<E> Unpin for UniversalProver<E>where E: Unpin,
impl<E> UnwindSafe for UniversalProver<E>where E: 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
Compare self to
key
and return true
if they are equal.