Struct display_bytes::FormatHex
[−]
[src]
pub struct FormatHex<'s> {
pub prefix: &'s str,
pub separator: &'s str,
pub uppercase: bool,
}Formats bytes in hexadecimal pairs (00 - FF).
Fields
prefix: &'s str
The prefix, if any, for each byte.
separator: &'s str
The separator for individual hex-formatted bytes.
uppercase: bool
Whether or not to write the hex-pairs in uppercase
Trait Implementations
impl<'s> Copy for FormatHex<'s>[src]
impl<'s> Clone for FormatHex<'s>[src]
fn clone(&self) -> FormatHex<'s>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more