pub struct HexFmt<T>(pub T);
Expand description
Wrapper for a byte array, whose Debug
, Display
and LowerHex
implementations output
shortened hexadecimal strings.
Tuple Fields
0: T
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for HexFmt<T> where
T: RefUnwindSafe,
impl<T> Send for HexFmt<T> where
T: Send,
impl<T> Sync for HexFmt<T> where
T: Sync,
impl<T> Unpin for HexFmt<T> where
T: Unpin,
impl<T> UnwindSafe for HexFmt<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more