Function uapi::as_maybe_uninit

source ·
pub fn as_maybe_uninit<T>(t: &T) -> &MaybeUninit<T>
Expand description

Casts the argument to MaybeUninit of the same type