pub fn null<T>() -> *const T
Creates a null raw pointer.
use std::ptr; let p: *const i32 = ptr::null(); assert!(p.is_null());
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ptr/fn.null.html