pub trait CompressedEncodingwhere
Self: Sized,{
type Bytes: ByteArray;
// Required method
fn to_bytes_compressed(&self) -> Self::Bytes;
}
Expand description
Compressed encoding of the point
Required Associated Types§
Required Methods§
Sourcefn to_bytes_compressed(&self) -> Self::Bytes
fn to_bytes_compressed(&self) -> Self::Bytes
Encodes the point as bytes in compressed form
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.