Struct poly_commitment::commitment::BlindedCommitment
source · pub struct BlindedCommitment<G>where
G: CommitmentCurve,{
pub commitment: PolyComm<G>,
pub blinders: PolyComm<G::ScalarField>,
}
Expand description
A commitment to a polynomial with some blinding factors.
Fields§
§commitment: PolyComm<G>
§blinders: PolyComm<G::ScalarField>
Trait Implementations§
source§impl<G> Clone for BlindedCommitment<G>where
G: CommitmentCurve + Clone,
G::ScalarField: Clone,
impl<G> Clone for BlindedCommitment<G>where G: CommitmentCurve + Clone, G::ScalarField: Clone,
source§fn clone(&self) -> BlindedCommitment<G>
fn clone(&self) -> BlindedCommitment<G>
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<G> Debug for BlindedCommitment<G>where
G: CommitmentCurve + Debug,
G::ScalarField: Debug,
impl<G> Debug for BlindedCommitment<G>where G: CommitmentCurve + Debug, G::ScalarField: Debug,
source§impl<'de, G> Deserialize<'de> for BlindedCommitment<G>where
G: CommitmentCurve + Deserialize<'de>,
impl<'de, G> Deserialize<'de> for BlindedCommitment<G>where G: CommitmentCurve + Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<G> Serialize for BlindedCommitment<G>where
G: CommitmentCurve + Serialize,
impl<G> Serialize for BlindedCommitment<G>where G: CommitmentCurve + Serialize,
Auto Trait Implementations§
impl<G> RefUnwindSafe for BlindedCommitment<G>where G: RefUnwindSafe, <G as AffineRepr>::ScalarField: RefUnwindSafe,
impl<G> Send for BlindedCommitment<G>
impl<G> Sync for BlindedCommitment<G>
impl<G> Unpin for BlindedCommitment<G>where G: Unpin, <G as AffineRepr>::ScalarField: Unpin,
impl<G> UnwindSafe for BlindedCommitment<G>where G: UnwindSafe, <G as AffineRepr>::ScalarField: 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