Struct safe_zk_token_sdk::zk_token_elgamal::pod::RangeProof128
source · #[repr(transparent)]pub struct RangeProof128(pub [u8; 736]);
Expand description
Serialization of range proofs for 128-bit numbers (for TransferRangeProof
instruction)
Tuple Fields§
§0: [u8; 736]
Trait Implementations§
source§impl Clone for RangeProof128
impl Clone for RangeProof128
source§fn clone(&self) -> RangeProof128
fn clone(&self) -> RangeProof128
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 moreimpl Copy for RangeProof128
impl Pod for RangeProof128
Auto Trait Implementations§
impl RefUnwindSafe for RangeProof128
impl Send for RangeProof128
impl Sync for RangeProof128
impl Unpin for RangeProof128
impl UnwindSafe for RangeProof128
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.