Function mz_proc::linux::assert_pointer_valid

source ·
fn assert_pointer_valid<T>(ptr: *const T)
Expand description

Asserts that the given pointer is valid.

§Panics

Panics if the given pointer:

  • is a null pointer
  • is not properly aligned for T