pub fn from_ptr_safe<T>(value: *mut T) -> Option<&'static T>
Safe version of from_ptr which, if pointer is null, will return None instead of panicking.
from_ptr
null
None