unsafe fn slice_assume_init_mut<T>(slice: &mut [MaybeUninit<T>]) -> &mut [T]Expand description
Assuming all the elements are initialized, get a mutable slice to them.
ยงSafety
The caller guarantees that the elements T referenced by slice are in a
valid state.