Struct lnpbp_secp256k1zkp::pedersen::Commitment
source · Expand description
A Pedersen commitment
Tuple Fields§
§0: [u8; 33]
Implementations§
source§impl Commitment
impl Commitment
sourcepub fn as_mut_ptr(&mut self) -> *mut u8
pub fn as_mut_ptr(&mut self) -> *mut u8
Converts the object to a mutable raw pointer for FFI interfacing
source§impl Commitment
impl Commitment
Trait Implementations§
source§impl AsRef<[u8]> for Commitment
impl AsRef<[u8]> for Commitment
source§impl Clone for Commitment
impl Clone for Commitment
source§fn clone(&self) -> Commitment
fn clone(&self) -> Commitment
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 Debug for Commitment
impl Debug for Commitment
source§impl Hash for Commitment
impl Hash for Commitment
source§impl Index<RangeFull> for Commitment
impl Index<RangeFull> for Commitment
source§impl Index<usize> for Commitment
impl Index<usize> for Commitment
source§impl Ord for Commitment
impl Ord for Commitment
source§fn cmp(&self, other: &Commitment) -> Ordering
fn cmp(&self, other: &Commitment) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Commitment> for Commitment
impl PartialEq<Commitment> for Commitment
source§fn eq(&self, other: &Commitment) -> bool
fn eq(&self, other: &Commitment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Commitment> for Commitment
impl PartialOrd<Commitment> for Commitment
source§fn partial_cmp(&self, other: &Commitment) -> Option<Ordering>
fn partial_cmp(&self, other: &Commitment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more