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

Are two pointers points on the same region, ie same size and same pointer.

Does not require arguments to have the same type.