devela::_dep::bytemuck::allocation

Function zeroed_vec

pub fn zeroed_vec<T>(length: usize) -> Vec<T> 
where T: Zeroable,
Available on crate feature dep_bytemuck only.
Expand description

As try_zeroed_vec but unwraps for you