Struct schnorrkel::musig::Commitment
source · pub struct Commitment(pub [u8; 16]);
Expand description
Commitments to R_i
values shared between cosigners during signing
Tuple Fields§
§0: [u8; 16]
Trait Implementations§
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 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 ==
.impl Copy for Commitment
impl Eq for Commitment
impl StructuralEq for Commitment
impl StructuralPartialEq for Commitment
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§
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