#[repr(transparent)]pub struct PodRistrettoPoint(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
Source§impl Clone for PodRistrettoPoint
impl Clone for PodRistrettoPoint
Source§fn clone(&self) -> PodRistrettoPoint
fn clone(&self) -> PodRistrettoPoint
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 PodRistrettoPoint
impl Debug for PodRistrettoPoint
Source§impl Default for PodRistrettoPoint
impl Default for PodRistrettoPoint
Source§fn default() -> PodRistrettoPoint
fn default() -> PodRistrettoPoint
Returns the “default value” for a type. Read more
Source§impl From<&RistrettoPoint> for PodRistrettoPoint
impl From<&RistrettoPoint> for PodRistrettoPoint
Source§fn from(point: &RistrettoPoint) -> Self
fn from(point: &RistrettoPoint) -> Self
Converts to this type from the input type.
Source§impl GroupOperations for PodRistrettoPoint
impl GroupOperations for PodRistrettoPoint
Source§impl PartialEq for PodRistrettoPoint
impl PartialEq for PodRistrettoPoint
Source§impl PointValidation for PodRistrettoPoint
impl PointValidation for PodRistrettoPoint
type Point = PodRistrettoPoint
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<&PodRistrettoPoint> for RistrettoPoint
impl TryFrom<&PodRistrettoPoint> for RistrettoPoint
Source§type Error = Curve25519Error
type Error = Curve25519Error
The type returned in the event of a conversion error.
impl Copy for PodRistrettoPoint
impl Eq for PodRistrettoPoint
impl Pod for PodRistrettoPoint
impl StructuralPartialEq for PodRistrettoPoint
Auto Trait Implementations§
impl Freeze for PodRistrettoPoint
impl RefUnwindSafe for PodRistrettoPoint
impl Send for PodRistrettoPoint
impl Sync for PodRistrettoPoint
impl Unpin for PodRistrettoPoint
impl UnwindSafe for PodRistrettoPoint
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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
.