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§
Source§impl Ord for PadU0
impl Ord for PadU0
Source§impl PartialOrd for PadU0
impl PartialOrd for PadU0
impl Copy for PadU0
impl Eq for PadU0
Auto Trait Implementations§
impl Freeze for PadU0
impl RefUnwindSafe for PadU0
impl Send for PadU0
impl Sync for PadU0
impl Unpin 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