[][src]Trait pretty_hex::PrettyHex

pub trait PrettyHex: Sized {
    fn hex_dump<'a>(&'a self) -> Hex<'a, Self>;
}

Allows generates hex dumps to a formatter.

Required methods

fn hex_dump<'a>(&'a self) -> Hex<'a, Self>

Wrap self reference for use in std::fmt::Display/std::fmt::Debug formating as hex dumps.

Loading content...

Implementations on Foreign Types

impl PrettyHex for Vec<u8>[src]

Loading content...

Implementors

impl<'a> PrettyHex for &'a [u8][src]

impl<'a> PrettyHex for &'a mut [u8][src]

Loading content...