pub(crate) struct Byte(pub u8);Expand description
Provides a convenient Debug implementation for a u8.
The Debug impl treats the byte as an ASCII, and emits a human
readable representation of it. If the byte isn’t ASCII, then it’s
emitted as a hex escape sequence.
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for Byte
Auto Trait Implementations§
impl Freeze for Byte
impl RefUnwindSafe for Byte
impl Send for Byte
impl Sync for Byte
impl Unpin for Byte
impl UnwindSafe for Byte
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