pub struct HexStr<'a, T: ?Sized, U, S>{
pub value: &'a T,
/* private fields */
}Expand description
Zero-sized wrapper newtype, allowing grouping bytes in blocks of N hexadecimals during formatting.
Use the method with the same name to construct this from your byte array or slice,
or preferrably the hex_str! or hexstr! macro.
Fields§
§value: &'a TThe value to be formatted.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, U, S> Freeze for HexStr<'a, T, U, S>where
T: ?Sized,
impl<'a, T, U, S> RefUnwindSafe for HexStr<'a, T, U, S>
impl<'a, T, U, S> Send for HexStr<'a, T, U, S>
impl<'a, T, U, S> Sync for HexStr<'a, T, U, S>
impl<'a, T, U, S> Unpin for HexStr<'a, T, U, S>
impl<'a, T, U, S> UnwindSafe for HexStr<'a, T, U, S>
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