bytemuck::allocation

Function zeroed_slice_box

Source
pub fn zeroed_slice_box<T: Zeroable>(length: usize) -> Box<[T]>
Expand description

As try_zeroed_slice_box, but unwraps for you.