Skip to main content
zeroed_rc
bytemuck
1.25.0
In bytemuck::
allocation
bytemuck
::
allocation
Function
zeroed_
rc
Copy item path
Source
pub fn zeroed_rc<T:
Zeroable
>() ->
Rc
<T>
Expand description
Allocates a
Rc<T>
with all contents being zeroed out.