Function to_shmem::to_shmem_slice
source ยท pub unsafe fn to_shmem_slice<'a, T, I>(
src: I,
builder: &mut SharedMemoryBuilder,
) -> Result<*mut [T], String>
Expand description
Writes all the items in src
into a slice in the shared memory buffer and
returns a pointer to the slice.