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