devela::_dep::bytemuck

Function zeroed_rc

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

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