4 ms·
Raw pointers in Rust can be null. (star)const T and (star)mut T both have an is_null method and there is std::ptr::null and std::ptr::null_mut available to cre
by M2Ys4U 6y ago
Raw pointers in Rust can be null.
(star)const T and (star)mut T both have an is_null method and there is std::ptr::null and std::ptr::null_mut available to create null pointers.