Skip to main content

clone_array

Function clone_array 

Source
pub fn clone_array(view: &V2TypedArrayView) -> *mut u8
Expand description

Allocate a fresh v2 typed array, copy all elements from view, stamp elem_type, and return its raw pointer.