[−][src]Struct dusk_plonk::commitment_scheme::kzg10::Commitment
Holds a commitment to a polynomial in a form of a G1Affine
Bls12_381 point.
Implementations
impl Commitment
[src][−]
pub fn from_projective(g: G1Projective) -> Self
[src][−]
Builds a Commitment
from a Bls12_381 G1Projective
point.
pub fn from_affine(g: G1Affine) -> Self
[src][−]
Builds a Commitment
from a Bls12_381 G1Affine
point.
pub fn empty() -> Self
[src][−]
Builds an empty Commitment
which is equivalent to the
G1Affine
identity point in Bls12_381.
Trait Implementations
impl Clone for Commitment
[src][+]
impl Copy for Commitment
[src]
impl Debug for Commitment
[src][+]
impl Default for Commitment
[src][+]
impl Eq for Commitment
[src]
impl PartialEq<Commitment> for Commitment
[src][+]
impl StructuralEq for Commitment
[src]
impl StructuralPartialEq for Commitment
[src]
Auto Trait Implementations
impl RefUnwindSafe for Commitment
impl Send for Commitment
impl Sync for Commitment
impl Unpin for Commitment
impl UnwindSafe for Commitment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,