Trait CompressedEncoding

Source
pub trait CompressedEncoding
where Self: Sized,
{ type Bytes: ByteArray; // Required method fn to_bytes_compressed(&self) -> Self::Bytes; }
Expand description

Compressed encoding of the point

Required Associated Types§

Source

type Bytes: ByteArray

Byte array that fits the whole compressed point representation

Required Methods§

Source

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.

Implementors§