Function bytemuck::allocation::zeroed_vec
source · pub fn zeroed_vec<T: Zeroable>(length: usize) -> Vec<T>
Available on crate feature
extern_crate_alloc
only.Expand description
As try_zeroed_vec
but unwraps for you