pub struct HexFormatOpts<'a> { /* private fields */ }Implementations§
Source§impl<'a> HexFormatOpts<'a>
impl<'a> HexFormatOpts<'a>
Sourcepub fn annotate(self, annotate: bool) -> HexFormatOpts<'a>
pub fn annotate(self, annotate: bool) -> HexFormatOpts<'a>
Sets whether to annotate the hex dump with tags.
Sourcepub fn context(self, tags: TagsStoreOpt<'a>) -> HexFormatOpts<'a>
pub fn context(self, tags: TagsStoreOpt<'a>) -> HexFormatOpts<'a>
Sets the formatting context for the hex dump.
Trait Implementations§
Source§impl<'a> Default for HexFormatOpts<'a>
impl<'a> Default for HexFormatOpts<'a>
Source§fn default() -> HexFormatOpts<'a>
fn default() -> HexFormatOpts<'a>
Returns the “default value” for a type. Read more