Trait ndarray::DataClone
[−]
[src]
pub unsafe trait DataClone: Data { unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem); }
Clone an Array’s storage.
Required Methods
unsafe fn clone_with_ptr(&self, ptr: *mut Self::Elem) -> (Self, *mut Self::Elem)
Unsafe because, ptr
must point inside the current storage.