core::ptr
pub const fn null<T>() -> *const T
Creates a null raw pointer.
use std::ptr; let p: *const i32 = ptr::null(); assert!(p.is_null());Run