pub unsafe fn managed_vec_item_read_from_payload_index<T, P>(
payload: &P,
index: &mut usize,
) -> Twhere
T: ManagedVecItem,
P: ManagedVecItemPayload,
Expand description
Used by the ManagedVecItem derive.
ยงSafety
Only works correctly if the given index is correct, otherwise undefined behavior is possible.