devela::_dep::bytemuck

Function zeroed_arc_slice

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

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