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