feanor_math::iters

Function clone_array

Source
pub fn clone_array<T, const N: usize>(slice: &[T]) -> [T; N]
where T: Copy,
Expand description

Clones every element of the given array.