pub struct HexI8(pub i8);Expand description
Helper struct that wraps a i8 and improves its std::fmt::Debug formatting. Formats the value as a zero-padded hexadecimal number with a 0x prefix, padded to the full bit-width of i8. Signed types are cast to their unsigned counterpart before formatting, giving the two’s complement representation without a sign prefix.
Tuple Fields§
§0: i8Trait Implementations§
Auto Trait Implementations§
impl Freeze for HexI8
impl RefUnwindSafe for HexI8
impl Send for HexI8
impl Sync for HexI8
impl Unpin for HexI8
impl UnsafeUnpin for HexI8
impl UnwindSafe for HexI8
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