pub struct HexDisplay<'bytes>(pub &'bytes [u8], pub Option<HexEncMode>);Expand description
Auxiliary structure that will always output hexadecimal characters when displayed.
Tuple Fields§
§0: &'bytes [u8]Bytes.
1: Option<HexEncMode>See HexEncMode.
Defaults to HexEncMode::WithoutPrefixLower if None.
Trait Implementations§
Source§impl<'bytes> Debug for HexDisplay<'bytes>
impl<'bytes> Debug for HexDisplay<'bytes>
Auto Trait Implementations§
impl<'bytes> Freeze for HexDisplay<'bytes>
impl<'bytes> RefUnwindSafe for HexDisplay<'bytes>
impl<'bytes> Send for HexDisplay<'bytes>
impl<'bytes> Sync for HexDisplay<'bytes>
impl<'bytes> Unpin for HexDisplay<'bytes>
impl<'bytes> UnwindSafe for HexDisplay<'bytes>
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