pub const fn null<T: ?Sized + Thin>() -> *const T
Expand description
Creates a null raw pointer.
This function is equivalent to zero-initializing the pointer:
MaybeUninit::<*const T>::zeroed().assume_init()
.
The resulting pointer has the address 0.