Struct ark_poly_commit::kzg10::PreparedCommitment
source · pub struct PreparedCommitment<E: Pairing>(pub Vec<E::G1Affine>);
Expand description
PreparedCommitment
commits to a polynomial and prepares for mul_bits.
Tuple Fields§
§0: Vec<E::G1Affine>
The commitment is a group element.
Implementations§
source§impl<E: Pairing> PreparedCommitment<E>
impl<E: Pairing> PreparedCommitment<E>
sourcepub fn prepare(comm: &Commitment<E>) -> Self
pub fn prepare(comm: &Commitment<E>) -> Self
prepare PreparedCommitment
from Commitment
Trait Implementations§
source§impl<E: Pairing> Clone for PreparedCommitment<E>
impl<E: Pairing> Clone for PreparedCommitment<E>
source§impl<E: Pairing> Debug for PreparedCommitment<E>
impl<E: Pairing> Debug for PreparedCommitment<E>
source§impl<E: Pairing> Default for PreparedCommitment<E>
impl<E: Pairing> Default for PreparedCommitment<E>
source§impl<E: Pairing> Hash for PreparedCommitment<E>
impl<E: Pairing> Hash for PreparedCommitment<E>
source§impl<E: Pairing> PartialEq<PreparedCommitment<E>> for PreparedCommitment<E>
impl<E: Pairing> PartialEq<PreparedCommitment<E>> for PreparedCommitment<E>
impl<E: Pairing> Eq for PreparedCommitment<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for PreparedCommitment<E>where <E as Pairing>::G1Affine: RefUnwindSafe,
impl<E> Send for PreparedCommitment<E>
impl<E> Sync for PreparedCommitment<E>
impl<E> Unpin for PreparedCommitment<E>where <E as Pairing>::G1Affine: Unpin,
impl<E> UnwindSafe for PreparedCommitment<E>where <E as Pairing>::G1Affine: 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