hacspec_lib::prelude

Function to_array

Source
pub fn to_array<A, T>(slice: &[T]) -> A
where A: Default + AsMut<[T]>, T: Copy,