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