Function core::intrinsics::vtable_size
source · pub unsafe fn vtable_size(_ptr: *const ()) -> usize
🔬This is a nightly-only experimental API. (
core_intrinsics
)Expand description
ptr
must point to a vtable.
The intrinsic will return the size stored in that vtable.