devela::_dep::bytemuck

Function zeroed_arc

pub fn zeroed_arc<T>() -> Arc<T>
where T: Zeroable,
Available on crate feature dep_bytemuck only.
Expand description

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