Function bytemuck::allocation::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.
pub fn zeroed_slice_box<T: Zeroable>(length: usize) -> Box<[T]>
As try_zeroed_slice_box
, but unwraps for you.