Struct safe_zk_token_sdk::curve25519::edwards::PodEdwardsPoint
source · #[repr(transparent)]pub struct PodEdwardsPoint(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for PodEdwardsPoint
impl Clone for PodEdwardsPoint
source§fn clone(&self) -> PodEdwardsPoint
fn clone(&self) -> PodEdwardsPoint
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 PodEdwardsPoint
impl Debug for PodEdwardsPoint
source§impl Default for PodEdwardsPoint
impl Default for PodEdwardsPoint
source§fn default() -> PodEdwardsPoint
fn default() -> PodEdwardsPoint
Returns the “default value” for a type. Read more
source§impl From<&EdwardsPoint> for PodEdwardsPoint
impl From<&EdwardsPoint> for PodEdwardsPoint
source§fn from(point: &EdwardsPoint) -> Self
fn from(point: &EdwardsPoint) -> Self
Converts to this type from the input type.
source§impl GroupOperations for PodEdwardsPoint
impl GroupOperations for PodEdwardsPoint
source§impl PartialEq<PodEdwardsPoint> for PodEdwardsPoint
impl PartialEq<PodEdwardsPoint> for PodEdwardsPoint
source§fn eq(&self, other: &PodEdwardsPoint) -> bool
fn eq(&self, other: &PodEdwardsPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PointValidation for PodEdwardsPoint
impl PointValidation for PodEdwardsPoint
type Point = PodEdwardsPoint
source§fn validate_point(&self) -> bool
fn validate_point(&self) -> bool
Verifies if a byte representation of a curve point lies in the curve.
source§impl TryFrom<&PodEdwardsPoint> for EdwardsPoint
impl TryFrom<&PodEdwardsPoint> for EdwardsPoint
§type Error = Curve25519Error
type Error = Curve25519Error
The type returned in the event of a conversion error.
impl Copy for PodEdwardsPoint
impl Eq for PodEdwardsPoint
impl Pod for PodEdwardsPoint
impl StructuralEq for PodEdwardsPoint
impl StructuralPartialEq for PodEdwardsPoint
Auto Trait Implementations§
impl RefUnwindSafe for PodEdwardsPoint
impl Send for PodEdwardsPoint
impl Sync for PodEdwardsPoint
impl Unpin for PodEdwardsPoint
impl UnwindSafe for PodEdwardsPoint
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
.