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