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