pub unsafe fn vtable<T: ?Sized>(ptr: *const T) -> NonNull<()>
Extract the address to a trait object’s vtable.
Must only be called when T is a dyn Trait.
T
dyn Trait