Skip to main content

unpack_fat_ptr

Function unpack_fat_ptr 

Source
pub unsafe fn unpack_fat_ptr<T: ?Sized>(ptr: AbiDynFatPtr) -> *const T
Expand description

Unpack an ABI-stable fat pointer back to *const T.

ยงSafety

ptr must have been created from a compatible *const T.