Struct base16ct::HexDisplay
source · 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<HexDisplay<'a>> for HexDisplay<'a>
impl<'a> PartialEq<HexDisplay<'a>> for HexDisplay<'a>
source§fn eq(&self, other: &HexDisplay<'a>) -> bool
fn eq(&self, other: &HexDisplay<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for HexDisplay<'_>
impl UpperHex for HexDisplay<'_>
impl<'a> Copy for HexDisplay<'a>
impl<'a> Eq for HexDisplay<'a>
impl<'a> StructuralEq for HexDisplay<'a>
impl<'a> StructuralPartialEq for HexDisplay<'a>
Auto Trait Implementations§
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