Skip to main content

zeroed_rc_slice

Function zeroed_rc_slice 

Source
pub fn zeroed_rc_slice<T: Zeroable>(length: usize) -> Rc<[T]>
Expand description

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