pub type CompressedPoint<C> = GenericArray<u8, CompressedPointSize<C>>;Expand description
Encoded elliptic curve point with point compression.
Aliased Type§
#[repr(transparent)]pub struct CompressedPoint<C> { /* private fields */ }Trait Implementations§
Source§impl<C> From<&PublicKey<C>> for CompressedPoint<C>where
    C: CurveArithmetic + PointCompression,
    AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
    FieldBytesSize<C>: ModulusSize,
 
impl<C> From<&PublicKey<C>> for CompressedPoint<C>where
    C: CurveArithmetic + PointCompression,
    AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
    FieldBytesSize<C>: ModulusSize,
Source§fn from(public_key: &PublicKey<C>) -> CompressedPoint<C>
 
fn from(public_key: &PublicKey<C>) -> CompressedPoint<C>
Converts to this type from the input type.
Source§impl<C> From<PublicKey<C>> for CompressedPoint<C>where
    C: CurveArithmetic + PointCompression,
    AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
    FieldBytesSize<C>: ModulusSize,
 
impl<C> From<PublicKey<C>> for CompressedPoint<C>where
    C: CurveArithmetic + PointCompression,
    AffinePoint<C>: FromEncodedPoint<C> + ToEncodedPoint<C>,
    FieldBytesSize<C>: ModulusSize,
Source§fn from(public_key: PublicKey<C>) -> CompressedPoint<C>
 
fn from(public_key: PublicKey<C>) -> CompressedPoint<C>
Converts to this type from the input type.