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>
impl<G> Clone for BlindedCommitment<G>
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>
impl<G> Debug for BlindedCommitment<G>
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> Freeze for BlindedCommitment<G>
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>
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