core::intrinsics

Function vtable_align

source
pub unsafe fn vtable_align(_ptr: *const ()) -> usize
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

The intrinsic will return the alignment stored in that vtable.

§Safety

ptr must point to a vtable.