bytemuck::allocation

Function zeroed_box

Source
pub fn zeroed_box<T: Zeroable>() -> Box<T>
Available on crate feature extern_crate_alloc only.
Expand description

As try_zeroed_box, but unwraps for you.