Equality in rust is value equality per default, that’s what these traits are for. If you want to check pointer equality you’d use the std::ptr::eq
function to check if two pointers are equal, which is rather rare in practice. You can also implement the PartialEq
trait yourself if you need custom equality checks.
Also if you check your Google Photos privacy settings there is a toggle for “Approximate missing locations” which tells me that Google is most definitely also using private images as training data and not only street view.