Struct alloc::boxed::thin::WithOpaqueHeader
source · #[repr(transparent)]struct WithOpaqueHeader(NonNull<u8>);
Expand description
An opaque representation of WithHeader<H>
to avoid the
projection invariance of <T as Pointee>::Metadata
.
Tuple Fields§
§0: NonNull<u8>
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WithOpaqueHeader
impl !Send for WithOpaqueHeader
impl !Sync for WithOpaqueHeader
impl Unpin for WithOpaqueHeader
impl UnwindSafe for WithOpaqueHeader
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