Trait nu_pretty_hex::PrettyHex [−][src]
pub trait PrettyHex: Sized { fn hex_dump(&self) -> Hex<'_, Self>; fn hex_conf(&self, cfg: HexConfig) -> Hex<'_, Self>; }
Expand description
Allows generates hex dumps to a formatter.
Required methods
fn hex_dump(&self) -> Hex<'_, Self>
[src]
Expand description
Wrap self reference for use in std::fmt::Display
and std::fmt::Debug
formatting as hex dumps.
fn hex_conf(&self, cfg: HexConfig) -> Hex<'_, Self>
[src]
Expand description
Wrap self reference for use in std::fmt::Display
and std::fmt::Debug
formatting as hex dumps in specified format.
Implementors
Loading content...