Module util

Source

Functions§

inner_u32
Default implementation of inner_u32 on top of fill_uninit
inner_u64
Default implementation of inner_u64 on top of fill_uninit
ptr_from_mut 🔒
ptr_from_ref 🔒
slice_as_uninit
slice_as_uninit_mut
View an mutable initialized array as potentially-uninitialized.
slice_assume_init_mut
Polyfill for maybe_uninit_slice feature’s MaybeUninit::slice_assume_init_mut. Every element of slice must have been initialized.
truncate 🔒
Truncates u64 and returns the lower 32 bits as u32
uninit_slice_fill_zero