pub fn copy_slice_to_vec<T>(
    slice: &[T],
    vec: &mut [T]
) -> Result<(), CopySliceError>
where T: Copy,
Expand description

A fallible wrapper around std::vec::Vec::copy_from_slice