Function same_ptr

Source
pub fn same_ptr<T1, T2>(src1: &T1, src2: &T2) -> bool
where T1: ?Sized, T2: ?Sized,
Expand description

Are two pointers are the same, not taking into accoint type.

Unlike std::ptr::eq() does not require arguments to have the same type.