pub struct HexDisplay<'a>(pub &'a [u8]);
Expand description
core::fmt
presenter for binary data encoded as hexadecimal (Base16).
Tuple Fields§
§0: &'a [u8]
Trait Implementations§
Source§impl<'a> Clone for HexDisplay<'a>
impl<'a> Clone for HexDisplay<'a>
Source§fn clone(&self) -> HexDisplay<'a>
fn clone(&self) -> HexDisplay<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for HexDisplay<'a>
impl<'a> Debug for HexDisplay<'a>
Source§impl Display for HexDisplay<'_>
impl Display for HexDisplay<'_>
Source§impl LowerHex for HexDisplay<'_>
impl LowerHex for HexDisplay<'_>
Source§impl<'a> PartialEq for HexDisplay<'a>
impl<'a> PartialEq for HexDisplay<'a>
Source§impl UpperHex for HexDisplay<'_>
impl UpperHex for HexDisplay<'_>
impl<'a> Copy for HexDisplay<'a>
impl<'a> Eq for HexDisplay<'a>
impl<'a> StructuralPartialEq for HexDisplay<'a>
Auto Trait Implementations§
impl<'a> Freeze for HexDisplay<'a>
impl<'a> RefUnwindSafe for HexDisplay<'a>
impl<'a> Send for HexDisplay<'a>
impl<'a> Sync for HexDisplay<'a>
impl<'a> Unpin for HexDisplay<'a>
impl<'a> UnwindSafe for HexDisplay<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)