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 for UniversalProver<E>
impl<E: PartialEq + PairingEngine> PartialEq for UniversalProver<E>
impl<E: Eq + PairingEngine> Eq for UniversalProver<E>
impl<E: PairingEngine> StructuralPartialEq for UniversalProver<E>
Auto Trait Implementations§
impl<E> Freeze for UniversalProver<E>where
E: Freeze,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.