Struct safe_zk_token_sdk::zk_token_elgamal::pod::RangeProof256
source · #[repr(transparent)]pub struct RangeProof256(pub [u8; 800]);
Expand description
Serialization of range proofs for 128-bit numbers (for TransferRangeProof
instruction)
Tuple Fields§
§0: [u8; 800]
Trait Implementations§
source§impl Clone for RangeProof256
impl Clone for RangeProof256
source§fn clone(&self) -> RangeProof256
fn clone(&self) -> RangeProof256
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 RangeProof256
impl Pod for RangeProof256
Auto Trait Implementations§
impl RefUnwindSafe for RangeProof256
impl Send for RangeProof256
impl Sync for RangeProof256
impl Unpin for RangeProof256
impl UnwindSafe for RangeProof256
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
.