Struct secp256k1_zkp_sys::SurjectionProof
source · #[repr(C)]pub struct SurjectionProof {
pub n_inputs: size_t,
pub used_inputs: [c_uchar; 32],
pub data: [c_uchar; 8224],
}
Fields§
§n_inputs: size_t
Total number of input asset tags
used_inputs: [c_uchar; 32]
Bitmap of which input tags are used in the surjection proof
data: [c_uchar; 8224]
Borromean signature: e0, scalars
Implementations§
Trait Implementations§
source§impl Clone for SurjectionProof
impl Clone for SurjectionProof
source§fn clone(&self) -> SurjectionProof
fn clone(&self) -> SurjectionProof
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 SurjectionProof
impl Debug for SurjectionProof
source§impl Default for SurjectionProof
impl Default for SurjectionProof
source§impl Hash for SurjectionProof
impl Hash for SurjectionProof
source§impl Ord for SurjectionProof
impl Ord for SurjectionProof
source§impl PartialEq for SurjectionProof
impl PartialEq for SurjectionProof
source§impl PartialOrd for SurjectionProof
impl PartialOrd for SurjectionProof
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 moreimpl Eq for SurjectionProof
Auto Trait Implementations§
impl RefUnwindSafe for SurjectionProof
impl Send for SurjectionProof
impl Sync for SurjectionProof
impl Unpin for SurjectionProof
impl UnwindSafe for SurjectionProof
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