Function same_data

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

Are two pointers points on the same data.

Does not require arguments to have the same type.