Trait elements::hex::ToHex

source ·
pub trait ToHex {
    // Required method
    fn to_hex(&self) -> String;
}
Expand description

Trait for objects that can be serialized as hex strings.

Required Methods§

source

fn to_hex(&self) -> String

Converts to a hexadecimal representation of the object.

Implementations on Foreign Types§

source§

impl ToHex for [u8]

source§

fn to_hex(&self) -> String

Implementors§

source§

impl<T: LowerHex> ToHex for T