devela::_dep::bytemuck::allocation

Function zeroed_rc_slice

pub fn zeroed_rc_slice<T>(length: usize) -> Rc<[T]>
where T: Zeroable,
Available on crate feature dep_bytemuck only.
Expand description

Allocates a Rc<[T]> with all contents being zeroed out.