[−][src]Module bytemuck::allocation
Stuff to boost things in the alloc
crate.
- You must enable the
extern_crate_alloc
feature ofbytemuck
or you will not be able to use this module!
Functions
cast_box | As |
cast_vec | As |
pod_collect_to_vec | This "collects" a slice of pod data into a vec of a different pod type. |
try_cast_box | Attempts to cast the content type of a |
try_cast_vec | Attempts to cast the content type of a |
try_zeroed_box | Allocates a |
try_zeroed_slice_box | Allocates a |
zeroed_box | As |
zeroed_slice_box | As |