bytemuck::allocation

Function zeroed_box

Source
pub fn zeroed_box<T: Zeroable>() -> Box<T>
Expand description

As try_zeroed_box, but unwraps for you.