Function ptr_mask

fn ptr_mask<T>(ptr: *const T, mask: usize) -> *const T

Masks out bits of the pointer according to a mask.

Note that, unlike most intrinsics, this is safe to call; it does not require an unsafe block. Therefore, implementations must not require the user to uphold any safety invariants.

Consider using pointer::mask instead.