unsafe fn data_offset<T: ?Sized>(ptr: *const T) -> usizeExpand description
Gets the offset within an RcInner for the payload behind a pointer.
§Safety
The pointer must point to (and have valid metadata for) a previously valid instance of T, but the T is allowed to be dropped.