pub(crate) fn is_aligned_and_not_null<T>(ptr: *const T) -> bool
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Checks whether ptr is properly aligned with respect to align_of::<T>().