Function addr_eq
fn addr_eq<T: PointeeSized, U: PointeeSized>(p: *const T, q: *const U) -> bool
Compares the addresses of the two pointers for equality, ignoring any metadata in fat pointers.
If the arguments are thin pointers of the same type,
then this is the same as eq.
Examples
use ptr;
let whole: & = &;
let first: &i32 = &whole;
assert!;
assert!;