Referential equality for Rust