pub struct PadU32(/* private fields */);Expand description
A padding type with the same layout as u32.
PadU32 is implemented as a wrapper around a single-variant enum
with an all-zeros bit-pattern.
Trait Implementations§
impl Copy for PadU32
impl Eq for PadU32
Source§impl Ord for PadU32
impl Ord for PadU32
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
impl Freeze for PadU32
impl RefUnwindSafe for PadU32
impl Send for PadU32
impl Sync for PadU32
impl Unpin for PadU32
impl UnsafeUnpin for PadU32
impl UnwindSafe for PadU32
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