pub(crate) fn option_as_mut_ptr<T>(t: Option<&mut T>) -> *mut T
Convert an Option<&mut T> into a possibly-null *mut T.
Option<&mut T>
*mut T