bytemuck
1.22.0
In bytemuck::
allocation
Structs
BoxBytes
Traits
TransparentWrapperAlloc
Functions
box_bytes_of
cast_arc
cast_box
cast_rc
cast_slice_arc
cast_slice_box
cast_slice_rc
cast_vec
from_box_bytes
pod_collect_to_vec
try_cast_arc
try_cast_box
try_cast_rc
try_cast_slice_arc
try_cast_slice_box
try_cast_slice_rc
try_cast_vec
try_from_box_bytes
try_zeroed_box
try_zeroed_slice_box
try_zeroed_vec
zeroed_box
zeroed_slice_box
zeroed_vec
bytemuck
::
allocation
Function
zeroed_box
Copy item path
Settings
Help
Summary
Source
pub fn zeroed_box<T:
Zeroable
>() ->
Box
<T>
Expand description
As
try_zeroed_box
, but unwraps for you.