Trait hex_slice::AsHex

source ·
pub trait AsHex {
    type Item;

    // Required methods
    fn as_hex<'a>(&'a self) -> Hex<'a, Self::Item>;
    fn plain_hex<'a>(&'a self, with_spaces: bool) -> PlainHex<'a, Self::Item>;
}

Required Associated Types§

Required Methods§

source

fn as_hex<'a>(&'a self) -> Hex<'a, Self::Item>

source

fn plain_hex<'a>(&'a self, with_spaces: bool) -> PlainHex<'a, Self::Item>

Implementations on Foreign Types§

source§

impl<T> AsHex for [T]

§

type Item = T

source§

fn as_hex<'a>(&'a self) -> Hex<'a, Self::Item>

source§

fn plain_hex<'a>(&'a self, with_spaces: bool) -> PlainHex<'a, Self::Item>

Implementors§