Struct miden_core::utils::DisplayHex
source · pub struct DisplayHex<'a>(pub &'a [u8]);
Expand description
A display helper for formatting a slice of bytes as hex with different options using Rust’s builtin format language
Tuple Fields§
§0: &'a [u8]
Implementations§
source§impl<'a> DisplayHex<'a>
impl<'a> DisplayHex<'a>
Trait Implementations§
source§impl<'a> Display for DisplayHex<'a>
impl<'a> Display for DisplayHex<'a>
source§impl<'a> LowerHex for DisplayHex<'a>
impl<'a> LowerHex for DisplayHex<'a>
source§impl<'a> PrettyPrint for DisplayHex<'a>
impl<'a> PrettyPrint for DisplayHex<'a>
source§fn to_pretty_string(&self) -> String
fn to_pretty_string(&self) -> String
source§fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn pretty_print(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Pretty-print this object to the given core::fmt::Formatter. Read more
source§impl<'a> ToHex for DisplayHex<'a>
impl<'a> ToHex for DisplayHex<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayHex<'a>
impl<'a> RefUnwindSafe for DisplayHex<'a>
impl<'a> Send for DisplayHex<'a>
impl<'a> Sync for DisplayHex<'a>
impl<'a> Unpin for DisplayHex<'a>
impl<'a> UnwindSafe for DisplayHex<'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