[][src]Function linux::lmem::copy

pub fn copy<T: Copy>(dst: &mut [T], src: &[T]) -> usize

Copies bytes from one slice to another.

[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.