pub trait UncompressedEncodingwhere
Self: Sized,{
type Bytes: ByteArray;
// Required method
fn to_bytes_uncompressed(&self) -> Self::Bytes;
}
Expand description
Uncompressed encoding of the point
Required Associated Types§
Required Methods§
Sourcefn to_bytes_uncompressed(&self) -> Self::Bytes
fn to_bytes_uncompressed(&self) -> Self::Bytes
Encodes the point as bytes in uncompressed form
Some curves may not have such thing as compressed and uncompressed forms.
For these curves, we CompressedEncoding
and UncompressedEncoding
should
return the same encoding.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.