Trait pretty_hex::PrettyHex [] [src]

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

Allows generates hex dumps to a formatter.

Required Methods

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

Implementations on Foreign Types

impl PrettyHex for Vec<u8>
[src]

[src]

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

[src]

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

[src]

Implementors