[−][src]Function ffi_utils::vec_clone_from_raw_parts
pub unsafe fn vec_clone_from_raw_parts<T: Clone>(
ptr: *const T,
len: usize
) -> Vec<T>
Converts a pointer and length to Vec
by cloning the contents.
Note: This does NOT free the memory pointed to by ptr
.