Struct zerogc_simple::layout::HeaderLayout [−][src]
pub struct HeaderLayout<H> { pub header_size: usize, pub common_header_offset: usize, // some fields omitted }
Expand description
The layout of an object’s header
Fields
header_size: usize
The overall size of the header
common_header_offset: usize
The offset of the ‘common’ header, starting from the start of the real header
Implementations
Get the header from the specified value pointer
Get the in-memory layout of the header (doesn’t include the value)
Get the offset of the value from the start of the header, given the alignment of its value
Trait Implementations
Auto Trait Implementations
impl<H> RefUnwindSafe for HeaderLayout<H> where
H: RefUnwindSafe,
impl<H> !Send for HeaderLayout<H>
impl<H> !Sync for HeaderLayout<H>
impl<H> Unpin for HeaderLayout<H>
impl<H> UnwindSafe for HeaderLayout<H> where
H: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more