union GcHeader {
header: ManuallyDrop<HeaderData>,
fwd_ptr: NonNull<u8>,
}
Fields§
§header: ManuallyDrop<HeaderData>
§fwd_ptr: NonNull<u8>
Implementations§
Source§impl GcHeader
impl GcHeader
const fn new(marked: bool) -> Self
fn is_present(&self) -> bool
fn get_header(&self) -> Result<&HeaderData, NonNull<u8>>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for GcHeader
impl !RefUnwindSafe for GcHeader
impl !Sync for GcHeader
impl Unpin for GcHeader
impl UnwindSafe for GcHeader
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