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
Auto Trait Implementations§
impl<'a> Freeze for HexFormatOpts<'a>
impl<'a> !RefUnwindSafe for HexFormatOpts<'a>
impl<'a> !Send for HexFormatOpts<'a>
impl<'a> !Sync for HexFormatOpts<'a>
impl<'a> Unpin for HexFormatOpts<'a>
impl<'a> !UnwindSafe for HexFormatOpts<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more