Function uapi::as_maybe_uninit_mut
source · pub unsafe fn as_maybe_uninit_mut<T>(t: &mut T) -> &mut MaybeUninit<T>
Expand description
Casts the argument to MaybeUninit
of the same type
§Safety
The returned reference must not be used to write uninitialized data into t
.