Function uapi::as_maybe_uninit_bytes_mut2
source · pub unsafe fn as_maybe_uninit_bytes_mut2<T: ?Sized>(
t: &mut T
) -> &mut [MaybeUninit<u8>]
Expand description
Returns the mutable object representation of t
This function exists because we cannot call as_maybe_uninit_mut for unsized T.
§Safety
The returned reference must not be used to write uninitialized data into t
.