pub unsafe fn clone_shared<T>(payload: ValuePayload) -> ValuePayloadExpand description
Value-model re-exports: the word, its payload, type descriptors, and the
export hook live in crate::value, the single representation for
every type.
Shared-heap clone: bump the Arc strong count, sharing the buffer.
O(1) with no allocation.
ยงSafety
The payload must co-own an Arc<T> buffer minted by
Value::mint_heap_shared and cloned only through this hook, so one
outstanding strong count exists per live word.