Function bytemuck::allocation::zeroed_box
source · pub fn zeroed_box<T: Zeroable>() -> Box<T>
Expand description
As try_zeroed_box
, but unwraps for you.
pub fn zeroed_box<T: Zeroable>() -> Box<T>
As try_zeroed_box
, but unwraps for you.