pub struct VtableHeaderLayout<'a> {
pub name: &'a str,
pub header_fields: Vec<FieldLayout<'a>>,
pub slots_offset: Width,
}Expand description
Validated layout of one vtable’s leading header fields and first function-pointer slot offset.
Fields§
§name: &'a str§header_fields: Vec<FieldLayout<'a>>§slots_offset: WidthByte offset of the first function-pointer slot on [P64, P32, I386].
Trait Implementations§
Source§impl<'a> Clone for VtableHeaderLayout<'a>
impl<'a> Clone for VtableHeaderLayout<'a>
Auto Trait Implementations§
impl<'a> Forget for VtableHeaderLayout<'a>
impl<'a> Freeze for VtableHeaderLayout<'a>
impl<'a> Move for VtableHeaderLayout<'a>
impl<'a> RefUnwindSafe for VtableHeaderLayout<'a>
impl<'a> Send for VtableHeaderLayout<'a>
impl<'a> Sync for VtableHeaderLayout<'a>where
RawVecInner: Sync,
impl<'a> Unpin for VtableHeaderLayout<'a>
impl<'a> UnsafeUnpin for VtableHeaderLayout<'a>where
&'a str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<FieldLayout<'a>>: UnsafeUnpin,
impl<'a> UnwindSafe for VtableHeaderLayout<'a>
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