devela::_dep::bytemuck::allocation

Function zeroed_slice_box

pub fn zeroed_slice_box<T>(length: usize) -> Box<[T]>
where T: Zeroable,
Available on crate feature dep_bytemuck only.
Expand description

As try_zeroed_slice_box, but unwraps for you.