Function std::intrinsics::vtable_size
source · pub unsafe extern "rust-intrinsic" 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.