Skip to main content

zeroed_rc

Function zeroed_rc 

Source
pub fn zeroed_rc<T: Zeroable>() -> Rc<T>
Expand description

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