Function core::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.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.