pub unsafe fn pack_fat_ptr<T: ?Sized>(ptr: *const T) -> AbiDynFatPtrExpand description
Pack a *const T (where T: ?Sized) into an ABI-stable fat pointer.
ยงSafety
ptr must be a valid fat pointer (e.g., *const dyn Trait).
pub unsafe fn pack_fat_ptr<T: ?Sized>(ptr: *const T) -> AbiDynFatPtrPack a *const T (where T: ?Sized) into an ABI-stable fat pointer.
ptr must be a valid fat pointer (e.g., *const dyn Trait).