Function null
const fn null<T: PointeeSized + Thin>() -> *const T
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.
Examples
use ptr;
let p: *const i32 = null;
assert!;
assert_eq!; // this pointer has the address 0