Function rustix::utils::option_as_mut_ptr

source ยท
pub(crate) fn option_as_mut_ptr<T>(t: Option<&mut T>) -> *mut T
Expand description

Convert an Option<&mut T> into a possibly-null *mut T.