Trait vtable::VTableMetaDropInPlace
source · pub unsafe trait VTableMetaDropInPlace: VTableMeta {
// Required methods
unsafe fn drop_in_place(vtable: &Self::VTable, ptr: *mut u8) -> Layout;
unsafe fn dealloc(vtable: &Self::VTable, ptr: *mut u8, layout: Layout);
}
Expand description
Required Methods§
Object Safety§
This trait is not object safe.