pub struct PadU8(/* private fields */);
Expand description
A padding type with the same layout as u8
.
PadU8
is implemented as a wrapper around a single-variant enum
with an all-zeros bit-pattern.
Trait Implementations§
Source§impl Ord for PadU8
impl Ord for PadU8
Source§impl PartialOrd for PadU8
impl PartialOrd for PadU8
impl Copy for PadU8
impl Eq for PadU8
Auto Trait Implementations§
impl Freeze for PadU8
impl RefUnwindSafe for PadU8
impl Send for PadU8
impl Sync for PadU8
impl Unpin for PadU8
impl UnwindSafe for PadU8
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