pub const fn null_mut<T>() -> *mut TExpand 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.
Content-Length: 6742 | pFad | https://doc.rust-lang.org/reference/../std/ptr/fn.null_mut.html
Fetched URL: https://doc.rust-lang.org/reference/../std/ptr/fn.null_mut.html
Alternative Proxies: