CompressedHex

Trait CompressedHex 

Source
pub trait CompressedHex: Sized {
    // Required methods
    fn to_compressed_hex(&self) -> String;
    fn from_compressed_hex(hex: &str) -> Option<Self>;
    fn to_uncompressed_hex(&self) -> String;
    fn from_uncompressed_hex(hex: &str) -> Option<Self>;
}

Required Methods§

Source

fn to_compressed_hex(&self) -> String

Convert the point to compressed hex.

Source

fn from_compressed_hex(hex: &str) -> Option<Self>

Convert the point from compressed hex.

Source

fn to_uncompressed_hex(&self) -> String

Convert the point to uncompressed hex.

Source

fn from_uncompressed_hex(hex: &str) -> Option<Self>

Convert the point from uncompressed hex.

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§