Trait nom::HexDisplay [−][src]
pub trait HexDisplay { fn to_hex(&self, chunk_size: usize) -> String; fn to_hex_from(&self, chunk_size: usize, from: usize) -> String; }
Required Methods
fn to_hex(&self, chunk_size: usize) -> String
Converts the value of self
to a hex dump, returning the owned
string.
fn to_hex_from(&self, chunk_size: usize, from: usize) -> String
Converts the value of self
to a hex dump beginning at from
address, returning the owned
string.
Implementations on Foreign Types
impl HexDisplay for [u8]
[src]
impl HexDisplay for [u8]
impl HexDisplay for str
[src]
impl HexDisplay for str
Implementors
impl<'a> HexDisplay for CompleteByteSlice<'a>