✨ null_fn
A proc attribute macro that allows for creating null function pointers in statics.
This crate is unsafe and easy to cause UB with, Option<fn()> is FFI safe and may be a more appropriate alternative if you value type safety.
Example
static mut UTIL_PlayerByUserId: unsafe extern "C" fn = unsafe ; // error[E0080]: it is undefined behavior to use this value
static mut UTIL_PlayerByUserId: unsafe extern "C" fn = null; // works!