pub const fn null<T: PointeeSized + Thin>() -> *const TThis item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
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.