[−][src]Function linux::lmem::unsafe_copy
pub unsafe fn unsafe_copy<T>(dst: &mut [T], src: &[T]) -> usize
Copies bytes from one slice to another even if the type does not implement Copy
.
[argument, dst] The slice in which the objects will be stored.
[argument, src] The slice from which the objects will be copied.
[return_value] Returns the number of objects copied.
= Remarks
The number of entries copied is the minimum length of both slices.