bytemuck::allocation

Function zeroed_vec

Source
pub fn zeroed_vec<T: Zeroable>(length: usize) -> Vec<T>
Expand description

As try_zeroed_vec but unwraps for you