pub struct PadU0(/* private fields */);Expand description
A padding type with the same layout as ().
Like the other padding types, PadU0 implements the Pad trait.
However, it occupies no space in memory.
Trait Implementations§
impl Copy for PadU0
impl Eq for PadU0
Source§impl Ord for PadU0
impl Ord for PadU0
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 PadU0
impl RefUnwindSafe for PadU0
impl Send for PadU0
impl Sync for PadU0
impl Unpin for PadU0
impl UnsafeUnpin for PadU0
impl UnwindSafe for PadU0
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