Struct primeorder::ProjectivePoint
source · pub struct ProjectivePoint<C: PrimeOrderCurve> { /* private fields */ }
Expand description
Point on a Weierstrass curve in projective coordinates.
Implementations
sourceimpl<C> ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcepub fn to_affine(&self) -> AffinePoint<C>
pub fn to_affine(&self) -> AffinePoint<C>
Returns the affine representation of this point, or None
if it is the identity.
Trait Implementations
sourceimpl<C> Add<&AffinePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<&AffinePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
fn add(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> Add<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
fn add(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> Add<&ProjectivePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<&ProjectivePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
fn add(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> Add<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
fn add(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> Add<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: AffinePoint<C>) -> ProjectivePoint<C>
fn add(self, other: AffinePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> Add<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Add<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
+
operator.sourcefn add(self, other: ProjectivePoint<C>) -> ProjectivePoint<C>
fn add(self, other: ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
+
operation. Read moresourceimpl<C> AddAssign<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> AddAssign<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn add_assign(&mut self, rhs: &AffinePoint<C>)
fn add_assign(&mut self, rhs: &AffinePoint<C>)
Performs the
+=
operation. Read moresourceimpl<C> AddAssign<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> AddAssign<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn add_assign(&mut self, rhs: &ProjectivePoint<C>)
fn add_assign(&mut self, rhs: &ProjectivePoint<C>)
Performs the
+=
operation. Read moresourceimpl<C> AddAssign<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> AddAssign<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn add_assign(&mut self, rhs: AffinePoint<C>)
fn add_assign(&mut self, rhs: AffinePoint<C>)
Performs the
+=
operation. Read moresourceimpl<C> AddAssign<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> AddAssign<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn add_assign(&mut self, rhs: ProjectivePoint<C>)
fn add_assign(&mut self, rhs: ProjectivePoint<C>)
Performs the
+=
operation. Read moresourceimpl<C: Clone + PrimeOrderCurve> Clone for ProjectivePoint<C>where
C::FieldElement: Clone,
C::FieldElement: Clone,
C::FieldElement: Clone,
impl<C: Clone + PrimeOrderCurve> Clone for ProjectivePoint<C>where
C::FieldElement: Clone,
C::FieldElement: Clone,
C::FieldElement: Clone,
sourcefn clone(&self) -> ProjectivePoint<C>
fn clone(&self) -> ProjectivePoint<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<C> CofactorGroup for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
impl<C> CofactorGroup for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
type Subgroup = ProjectivePoint<C>
type Subgroup = ProjectivePoint<C>
The large prime-order subgroup in which cryptographic operations are performed.
If
Self
implements PrimeGroup
, then Self::Subgroup
may be Self
. Read moresourcefn clear_cofactor(&self) -> Self::Subgroup
fn clear_cofactor(&self) -> Self::Subgroup
Maps
self
to the prime-order subgroup by multiplying this element by some
k
-multiple of the cofactor. Read moresourcefn into_subgroup(self) -> CtOption<Self>
fn into_subgroup(self) -> CtOption<Self>
Returns
self
if it is contained in the prime-order subgroup. Read moresourcefn is_torsion_free(&self) -> Choice
fn is_torsion_free(&self) -> Choice
Determines if this element is “torsion free”, i.e., is contained in the
prime-order subgroup. Read more
fn is_small_order(&self) -> Choice
fn is_small_order(&self) -> Choice
Determines if this element is of small order. Read more
sourceimpl<C> ConditionallySelectable for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> ConditionallySelectable for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
sourcefn conditional_assign(&mut self, other: &Self, choice: Choice)
fn conditional_assign(&mut self, other: &Self, choice: Choice)
sourceimpl<C> ConstantTimeEq for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> ConstantTimeEq for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourceimpl<C> Curve for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Curve for ProjectivePoint<C>where
C: PrimeOrderCurve,
type AffineRepr = AffinePoint<C>
type AffineRepr = AffinePoint<C>
The affine representation for this elliptic curve.
sourcefn to_affine(&self) -> AffinePoint<C>
fn to_affine(&self) -> AffinePoint<C>
Converts this element into its affine representation.
fn batch_normalize(p: &[Self], q: &mut [Self::AffineRepr])
fn batch_normalize(p: &[Self], q: &mut [Self::AffineRepr])
Converts a batch of projective elements into affine elements. This function will
panic if
p.len() != q.len()
. Read moresourceimpl<C: Debug + PrimeOrderCurve> Debug for ProjectivePoint<C>where
C::FieldElement: Debug,
C::FieldElement: Debug,
C::FieldElement: Debug,
impl<C: Debug + PrimeOrderCurve> Debug for ProjectivePoint<C>where
C::FieldElement: Debug,
C::FieldElement: Debug,
C::FieldElement: Debug,
sourceimpl<C> Default for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Default for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourceimpl<C> From<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> From<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn from(p: &AffinePoint<C>) -> Self
fn from(p: &AffinePoint<C>) -> Self
Converts to this type from the input type.
sourceimpl<C> From<&ProjectivePoint<C>> for AffinePoint<C>where
C: PrimeOrderCurve,
impl<C> From<&ProjectivePoint<C>> for AffinePoint<C>where
C: PrimeOrderCurve,
sourcefn from(p: &ProjectivePoint<C>) -> AffinePoint<C>
fn from(p: &ProjectivePoint<C>) -> AffinePoint<C>
Converts to this type from the input type.
sourceimpl<C> From<&PublicKey<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> From<&PublicKey<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn from(public_key: &PublicKey<C>) -> ProjectivePoint<C>
fn from(public_key: &PublicKey<C>) -> ProjectivePoint<C>
Converts to this type from the input type.
sourceimpl<C> From<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> From<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn from(p: AffinePoint<C>) -> Self
fn from(p: AffinePoint<C>) -> Self
Converts to this type from the input type.
sourceimpl<C> From<ProjectivePoint<C>> for AffinePoint<C>where
C: PrimeOrderCurve,
impl<C> From<ProjectivePoint<C>> for AffinePoint<C>where
C: PrimeOrderCurve,
sourcefn from(p: ProjectivePoint<C>) -> AffinePoint<C>
fn from(p: ProjectivePoint<C>) -> AffinePoint<C>
Converts to this type from the input type.
sourceimpl<C> From<PublicKey<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> From<PublicKey<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn from(public_key: PublicKey<C>) -> ProjectivePoint<C>
fn from(public_key: PublicKey<C>) -> ProjectivePoint<C>
Converts to this type from the input type.
sourceimpl<C> Group for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Group for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Scalar = <C as ScalarArithmetic>::Scalar
type Scalar = <C as ScalarArithmetic>::Scalar
Scalars modulo the order of this group’s scalar field.
sourcefn random(rng: impl RngCore) -> Self
fn random(rng: impl RngCore) -> Self
Returns an element chosen uniformly at random from the non-identity elements of
this group. Read more
sourcefn is_identity(&self) -> Choice
fn is_identity(&self) -> Choice
Determines if this point is the identity.
sourceimpl<C> GroupEncoding for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
impl<C> GroupEncoding for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
type Repr = GenericArray<u8, <<<C as Curve>::UInt as ArrayEncoding>::ByteSize as ModulusSize>::CompressedPointSize>
type Repr = GenericArray<u8, <<<C as Curve>::UInt as ArrayEncoding>::ByteSize as ModulusSize>::CompressedPointSize>
The encoding of group elements. Read more
sourcefn from_bytes(bytes: &Self::Repr) -> CtOption<Self>
fn from_bytes(bytes: &Self::Repr) -> CtOption<Self>
Attempts to deserialize a group element from its encoding.
sourcefn from_bytes_unchecked(bytes: &Self::Repr) -> CtOption<Self>
fn from_bytes_unchecked(bytes: &Self::Repr) -> CtOption<Self>
Attempts to deserialize a group element, not checking if the element is valid. Read more
sourceimpl<C> LinearCombination for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> LinearCombination for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourceimpl<C> Mul<&<C as ScalarArithmetic>::Scalar> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Mul<&<C as ScalarArithmetic>::Scalar> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
*
operator.sourcefn mul(self, scalar: &Scalar<C>) -> ProjectivePoint<C>
fn mul(self, scalar: &Scalar<C>) -> ProjectivePoint<C>
Performs the
*
operation. Read moresourceimpl<C, S> Mul<S> for ProjectivePoint<C>where
C: PrimeOrderCurve,
S: Borrow<Scalar<C>>,
impl<C, S> Mul<S> for ProjectivePoint<C>where
C: PrimeOrderCurve,
S: Borrow<Scalar<C>>,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
*
operator.sourceimpl<C, S> MulAssign<S> for ProjectivePoint<C>where
C: PrimeOrderCurve,
S: Borrow<Scalar<C>>,
impl<C, S> MulAssign<S> for ProjectivePoint<C>where
C: PrimeOrderCurve,
S: Borrow<Scalar<C>>,
sourcefn mul_assign(&mut self, scalar: S)
fn mul_assign(&mut self, scalar: S)
Performs the
*=
operation. Read moresourceimpl<'a, C> Neg for &'a ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<'a, C> Neg for &'a ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn neg(self) -> ProjectivePoint<C>
fn neg(self) -> ProjectivePoint<C>
Performs the unary
-
operation. Read moresourceimpl<C> Neg for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Neg for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn neg(self) -> ProjectivePoint<C>
fn neg(self) -> ProjectivePoint<C>
Performs the unary
-
operation. Read moresourceimpl<C> PartialEq<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> PartialEq<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourceimpl<C> PrimeCurve for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
impl<C> PrimeCurve for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
type Affine = AffinePoint<C>
sourceimpl<C> Sub<&AffinePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<&AffinePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> Sub<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: &AffinePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> Sub<&ProjectivePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<&ProjectivePoint<C>> for &ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> Sub<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: &ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> Sub<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: AffinePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: AffinePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> Sub<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sub<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
type Output = ProjectivePoint<C>
type Output = ProjectivePoint<C>
The resulting type after applying the
-
operator.sourcefn sub(self, other: ProjectivePoint<C>) -> ProjectivePoint<C>
fn sub(self, other: ProjectivePoint<C>) -> ProjectivePoint<C>
Performs the
-
operation. Read moresourceimpl<C> SubAssign<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> SubAssign<&AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn sub_assign(&mut self, rhs: &AffinePoint<C>)
fn sub_assign(&mut self, rhs: &AffinePoint<C>)
Performs the
-=
operation. Read moresourceimpl<C> SubAssign<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> SubAssign<&ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn sub_assign(&mut self, rhs: &ProjectivePoint<C>)
fn sub_assign(&mut self, rhs: &ProjectivePoint<C>)
Performs the
-=
operation. Read moresourceimpl<C> SubAssign<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> SubAssign<AffinePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn sub_assign(&mut self, rhs: AffinePoint<C>)
fn sub_assign(&mut self, rhs: AffinePoint<C>)
Performs the
-=
operation. Read moresourceimpl<C> SubAssign<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> SubAssign<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn sub_assign(&mut self, rhs: ProjectivePoint<C>)
fn sub_assign(&mut self, rhs: ProjectivePoint<C>)
Performs the
-=
operation. Read moresourceimpl<'a, C> Sum<&'a ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<'a, C> Sum<&'a ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourcefn sum<I: Iterator<Item = &'a ProjectivePoint<C>>>(iter: I) -> Self
fn sum<I: Iterator<Item = &'a ProjectivePoint<C>>>(iter: I) -> Self
Method which takes an iterator and generates
Self
from the elements by
“summing up” the items. Read moresourceimpl<C> Sum<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Sum<ProjectivePoint<C>> for ProjectivePoint<C>where
C: PrimeOrderCurve,
sourceimpl<C> TryFrom<&ProjectivePoint<C>> for PublicKey<C>where
C: PrimeOrderCurve,
impl<C> TryFrom<&ProjectivePoint<C>> for PublicKey<C>where
C: PrimeOrderCurve,
sourceimpl<C> TryFrom<ProjectivePoint<C>> for PublicKey<C>where
C: PrimeOrderCurve,
impl<C> TryFrom<ProjectivePoint<C>> for PublicKey<C>where
C: PrimeOrderCurve,
impl<C: Copy + PrimeOrderCurve> Copy for ProjectivePoint<C>where
C::FieldElement: Copy,
C::FieldElement: Copy,
C::FieldElement: Copy,
impl<C> DefaultIsZeroes for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> Eq for ProjectivePoint<C>where
C: PrimeOrderCurve,
impl<C> PrimeGroup for ProjectivePoint<C>where
C: PrimeOrderCurve,
FieldBytes<C>: Copy,
FieldSize<C>: ModulusSize,
CompressedPoint<C>: Copy,
<UncompressedPointSize<C> as ArrayLength<u8>>::ArrayType: Copy,
Auto Trait Implementations
impl<C> RefUnwindSafe for ProjectivePoint<C>where
<C as PrimeOrderCurve>::FieldElement: RefUnwindSafe,
impl<C> Send for ProjectivePoint<C>
impl<C> Sync for ProjectivePoint<C>
impl<C> Unpin for ProjectivePoint<C>where
<C as PrimeOrderCurve>::FieldElement: Unpin,
impl<C> UnwindSafe for ProjectivePoint<C>where
<C as PrimeOrderCurve>::FieldElement: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more